Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 520 for hashed (0.14 sec)

  1. src/crypto/rsa/pss_test.go

    		0x0a, 0x37, 0x9c, 0x69,
    	}
    
    	if err := VerifyPSS(&rsaPrivateKey.PublicKey, hash, hashed, sig, nil); err != nil {
    		t.Error(err)
    	}
    }
    
    func TestPSSNilOpts(t *testing.T) {
    	hash := crypto.SHA256
    	h := hash.New()
    	h.Write([]byte("testing"))
    	hashed := h.Sum(nil)
    
    	SignPSS(rand.Reader, rsaPrivateKey, hash, hashed, nil)
    }
    
    func TestPSSSigning(t *testing.T) {
    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. src/crypto/ecdsa/ecdsa_s390x.go

    	return 0, 0, false // A mismatch
    }
    
    func hashToBytes(dst, hash []byte, c elliptic.Curve) {
    	l := len(dst)
    	if n := c.Params().N.BitLen(); n == l*8 {
    		// allocation free path for curves with a length that is a whole number of bytes
    		if len(hash) >= l {
    			// truncate hash
    			copy(dst, hash[:l])
    			return
    		}
    		// pad hash with leading zeros
    		p := l - len(hash)
    		for i := 0; i < p; i++ {
    			dst[i] = 0
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. src/crypto/internal/boring/notboring.go

    const RandReader = randReader(0)
    
    func NewSHA1() hash.Hash   { panic("boringcrypto: not available") }
    func NewSHA224() hash.Hash { panic("boringcrypto: not available") }
    func NewSHA256() hash.Hash { panic("boringcrypto: not available") }
    func NewSHA384() hash.Hash { panic("boringcrypto: not available") }
    func NewSHA512() hash.Hash { 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)
  5. src/hash/maphash/maphash.go

    //
    // all have the same effect.
    //
    // Hashes are intended to be collision-resistant, even for situations
    // where an adversary controls the byte sequences being hashed.
    //
    // A Hash is not safe for concurrent use by multiple goroutines, but a Seed is.
    // If multiple goroutines must compute the same seeded hash,
    // each can declare its own Hash and call SetSeed with a common Seed.
    type Hash struct {
    	_     [0]func()     // not comparable
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 19:15:34 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  6. src/crypto/rsa/example_test.go

    	// Only small messages can be signed directly; thus the hash of a
    	// message, rather than the message itself, is signed. This requires
    	// 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 {
    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. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/classloader/ConfigurableClassLoaderHierarchyHasherTest.groovy

            expect:
            hasher.getClassLoaderHash(runtimeLoader) == hashFor("system")
        }
    
        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)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 3K bytes
    - Viewed (0)
  8. platforms/jvm/normalization-java/src/main/java/org/gradle/api/internal/changedetection/state/FallbackHandlingResourceHasher.java

            this.delegate = delegate;
        }
    
        @Override
        public void appendConfigurationToHasher(Hasher hasher) {
            delegate.appendConfigurationToHasher(hasher);
            hasher.putString(this.getClass().getName());
        }
    
        @Nullable
        @Override
        public HashCode hash(RegularFileSnapshotContext snapshotContext) throws IOException {
            return Optional.of(snapshotContext)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 6K bytes
    - Viewed (0)
  9. .github/workflows/mint/nginx-4-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: Wed May 15 16:52:29 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  10. .github/workflows/mint/nginx.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: Wed May 15 16:52:29 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top