Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for hashHead (0.14 sec)

  1. src/crypto/rsa/pss_test.go

    	}
    
    	hash := sha1.New()
    	hash.Write(msg)
    	hashed := hash.Sum(nil)
    
    	encoded, err := EMSAPSSEncode(hashed, 1023, salt, sha1.New())
    	if err != nil {
    		t.Errorf("Error from emsaPSSEncode: %s\n", err)
    	}
    	if !bytes.Equal(encoded, expected) {
    		t.Errorf("Bad encoding. got %x, want %x", encoded, expected)
    	}
    
    	if err = EMSAPSSVerify(hashed, encoded, 1023, len(salt), sha1.New()); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/api/internal/changedetection/state/FileHasherStatistics.java

    import java.text.MessageFormat;
    import java.util.concurrent.atomic.AtomicLong;
    
    public interface FileHasherStatistics {
        /**
         * Number of files hashed.
         */
        long getHashedFileCount();
    
        /**
         * Amount of bytes hashed.
         */
        long getHashedContentLength();
    
        @ServiceScope(Scope.Global.class)
        class Collector {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:05 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. pkg/volume/util/attach_limit.go

    	if totalkeyLength >= ResourceNameLengthLimit {
    		charsFromDriverName := driverName[:23]
    		hash := sha1.New()
    		hash.Write([]byte(driverName))
    		hashed := hex.EncodeToString(hash.Sum(nil))
    		hashed = hashed[:16]
    		return CSIAttachLimitPrefix + charsFromDriverName + hashed
    	}
    	return CSIAttachLimitPrefix + driverName
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 10 17:25:30 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  4. src/crypto/ecdsa/ecdsa_s390x.go

    	//	+---------------------+
    	//	|   Hashed Message    |
    	//	+---------------------+
    	//	|   Public Key X      |
    	//	+---------------------+
    	//	|   Public Key Y      |
    	//	+---------------------+
    	//	|                     |
    	//	|        ...          |
    	//	|                     |
    	//	+---------------------+
    	// The common components(signatureR, signatureS, hashed message, public key X,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  5. src/crypto/internal/boring/notboring.go

    func SignRSAPKCS1v15(priv *PrivateKeyRSA, h crypto.Hash, hashed []byte) ([]byte, error) {
    	panic("boringcrypto: not available")
    }
    func SignRSAPSS(priv *PrivateKeyRSA, h crypto.Hash, hashed []byte, saltLen int) ([]byte, error) {
    	panic("boringcrypto: not available")
    }
    func VerifyRSAPKCS1v15(pub *PublicKeyRSA, h crypto.Hash, hashed, sig []byte) error {
    	panic("boringcrypto: not available")
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 26 22:52:27 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  6. src/crypto/rsa/example_test.go

    	// that the hash function be collision resistant. SHA-256 is the
    	// least-strong hash function that should be used for this at the time
    	// of writing (2016).
    	hashed := sha256.Sum256(message)
    
    	signature, err := rsa.SignPKCS1v15(nil, rsaPrivateKey, crypto.SHA256, hashed[:])
    	if err != nil {
    		fmt.Fprintf(os.Stderr, "Error from signing: %s\n", err)
    		return
    	}
    
    	fmt.Printf("Signature: %x\n", signature)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 22:52:37 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  7. src/hash/maphash/maphash.go

    		h.state = seed
    	}
    }
    
    // WriteByte adds b to the sequence of bytes hashed by h.
    // It never fails; the error result is for implementing [io.ByteWriter].
    func (h *Hash) WriteByte(b byte) error {
    	if h.n == len(h.buf) {
    		h.flush()
    	}
    	h.buf[h.n] = b
    	h.n++
    	return nil
    }
    
    // Write adds b to the sequence of bytes hashed by h.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 19:15:34 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  8. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/classloader/ConfigurableClassLoaderHierarchyHasherTest.groovy

        }
    
        def "hashes unknown classloader"() {
            def unknownLoader = Mock(ClassLoader)
            expect:
            hasher.getClassLoaderHash(unknownLoader) == null
        }
    
        def "hashes hashed classloader"() {
            def hashedLoader = new DelegatingLoader(runtimeLoader)
            def hashedLoaderHash = TestHashCodes.hashCodeFrom(123456)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 3K bytes
    - Viewed (0)
  9. platforms/jvm/normalization-java/src/main/java/org/gradle/api/internal/changedetection/state/FallbackHandlingResourceHasher.java

         * Try to hash the resource, and signal for fallback if it can't be hashed.
         *
         * @return An Optional containing the hash, or an empty Optional if fallback should be triggered
         */
        abstract Optional<HashCode> tryHash(RegularFileSnapshotContext snapshotContext);
    
        /**
         * Try to hash the resource, and signal for fallback if it can't be hashed.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 6K bytes
    - Viewed (0)
  10. .github/workflows/mint/nginx-1-node.conf

                proxy_set_header X-Forwarded-Proto $scheme;
                proxy_set_header X-NginX-Proxy true;
    
                # This is necessary to pass the correct IP to be hashed
                real_ip_header X-Real-IP;
    
                proxy_connect_timeout 300;
                
                # To support websocket
                proxy_http_version 1.1;
                proxy_set_header Upgrade $http_upgrade;
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Mar 31 21:38:10 UTC 2023
    - 2.8K bytes
    - Viewed (0)
Back to top