Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 497 for hashed (0.48 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. src/crypto/rsa/pkcs1v15.go

    	copy(em[k-len(hashed):], hashed)
    	return em, nil
    }
    
    // VerifyPKCS1v15 verifies an RSA PKCS #1 v1.5 signature.
    // hashed is the result of hashing the input message using the given hash
    // function and sig is the signature. A valid signature is indicated by
    // returning a nil error. If hash is zero then hashed is used directly. This
    // isn't advisable except for interoperability.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:21 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  3. 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)
  4. src/cmd/internal/goobj/objfile.go

    }
    
    // Hash64 returns the i-th short hashed symbol's hash.
    // Note: here i is the index of short hashed symbols, not all symbols
    // (unlike other accessors).
    func (r *Reader) Hash64(i uint32) uint64 {
    	off := r.h.Offsets[BlkHash64] + uint32(i*Hash64Size)
    	return r.uint64At(off)
    }
    
    // Hash returns a pointer to the i-th hashed symbol's hash.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  5. src/crypto/rsa/pss.go

    	SaltLength int
    
    	// Hash is the hash function used to generate the message digest. If not
    	// zero, it overrides the hash function passed to SignPSS. It's required
    	// when using PrivateKey.Sign.
    	Hash crypto.Hash
    }
    
    // HashFunc returns opts.Hash so that [PSSOptions] implements [crypto.SignerOpts].
    func (opts *PSSOptions) HashFunc() crypto.Hash {
    	return opts.Hash
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 11K bytes
    - Viewed (0)
  6. src/crypto/ed25519/ed25519.go

    // panic if len(publicKey) is not [PublicKeySize].
    //
    // If opts.Hash is [crypto.SHA512], the pre-hashed variant Ed25519ph is used and
    // message is expected to be a SHA-512 hash, otherwise opts.Hash must be
    // [crypto.Hash](0) and the message must not be hashed, as Ed25519 performs two
    // passes over messages to be signed.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  7. .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)
  8. .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)
  9. .github/workflows/mint/nginx-8-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;
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 16:52:29 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. src/cmd/link/internal/ld/macho_update_uuid.go

    	// want the "version" of this UUID to appear as 'hashed' as opposed
    	// to random or time-based.  This is something of a fiction since
    	// we're not actually hashing using MD5 or SHA1, but it seems better
    	// to use this UUID flavor than any of the others. This is similar
    	// to how other linkers handle this (for example this code in lld:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top