crypto.Hash.New (method)
37 uses
crypto (current package)
crypto.go#L127: func (h Hash) New() hash.Hash {
crypto/internal/hpke
hpke.go#L35: return hkdf.Extract(kdf.hash.New, labeledIKM, salt)
hpke.go#L46: n, err := hkdf.Expand(kdf.hash.New, randomKey, labeledInfo).Read(out)
crypto/rsa
pss.go#L212: em, err := emsaPSSEncode(hashed, emBits, salt, hash.New())
pss.go#L384: return emsaPSSVerify(digest, em, emBits, opts.saltLength(), hash.New())
rsa.go#L182: return decryptOAEP(opts.Hash.New(), opts.Hash.New(), rand, priv, ciphertext, opts.Label)
rsa.go#L184: return decryptOAEP(opts.Hash.New(), opts.MGFHash.New(), rand, priv, ciphertext, opts.Label)
crypto/tls
auth.go#L89: h := sigHash.New()
handshake_client.go#L318: transcript := suite.hash.New()
handshake_client.go#L509: transcript := cipherSuite.hash.New()
handshake_client_tls13.go#L68: hs.transcript = hs.suite.hash.New()
handshake_client_tls13.go#L75: hs.echContext.innerTranscript = hs.suite.hash.New()
handshake_client_tls13.go#L356: transcript := hs.suite.hash.New()
handshake_server_tls13.go#L180: hs.transcript = hs.suite.hash.New()
handshake_server_tls13.go#L411: transcript := hs.suite.hash.New()
handshake_server_tls13.go#L451: out := h.New()
key_agreement.go#L141: h := hashFunc.New()
key_schedule.go#L64: n, err := hkdf.Expand(c.hash.New, secret, hkdfLabelBytes).Read(out)
key_schedule.go#L74: transcript = c.hash.New()
key_schedule.go#L84: return hkdf.Extract(c.hash.New, newSecret, currentSecret)
key_schedule.go#L105: verifyData := hmac.New(c.hash.New, finishedKey)
key_schedule.go#L116: h := c.hash.New()
prf.go#L160: return finishedHash{hash.New(), hash.New(), nil, nil, buffer, version, prf}
prf.go#L237: hash := hashAlg.New()
crypto/x509
x509.go#L926: h := hashType.New()
x509.go#L1509: h := hashFunc.New()
github.com/golang-jwt/jwt/v5
ecdsa.go#L79: hasher := m.Hash.New()
ecdsa.go#L107: hasher := m.Hash.New()
hmac.go#L73: hasher := hmac.New(m.Hash.New, keyBytes)
hmac.go#L97: hasher := hmac.New(m.Hash.New, keyBytes)
rsa.go#L61: hasher := m.Hash.New()
rsa.go#L84: hasher := m.Hash.New()
rsa_pss.go#L98: hasher := m.Hash.New()
rsa_pss.go#L126: hasher := m.Hash.New()
 |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |