const crypto.SHA256
39 uses
crypto (current package)
crypto.go#L33: case SHA256:
crypto.go#L73: SHA256 // import crypto/sha256
crypto.go#L96: SHA256: 32,
crypto/rsa
pkcs1v15.go#L211: crypto.SHA256: {0x30, 0x31, 0x30, 0x0d, 0x06, 0x09, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x01, 0x05, 0x00, 0x04, 0x20},
crypto/sha256
sha256.go#L18: crypto.RegisterHash(crypto.SHA256, New)
crypto/tls
auth.go#L115: hash = crypto.SHA256
auth.go#L155: {PSSWithSHA256, crypto.SHA256.Size()*2 + 2, VersionTLS13},
auth.go#L161: {PKCS1WithSHA256, 19 + crypto.SHA256.Size() + 11, VersionTLS12},
cipher_suites.go#L224: {TLS_AES_128_GCM_SHA256, 16, aeadAESGCMTLS13, crypto.SHA256},
cipher_suites.go#L225: {TLS_CHACHA20_POLY1305_SHA256, 32, aeadChaCha20Poly1305, crypto.SHA256},
prf.go#L95: return prf12(sha256.New), crypto.SHA256
crypto/x509
x509.go#L340: {SHA256WithRSA, "SHA256-RSA", oidSignatureSHA256WithRSA, RSA, crypto.SHA256},
x509.go#L343: {SHA256WithRSAPSS, "SHA256-RSAPSS", oidSignatureRSAPSS, RSA, crypto.SHA256},
x509.go#L347: {DSAWithSHA256, "DSA-SHA256", oidSignatureDSAWithSHA256, DSA, crypto.SHA256},
x509.go#L349: {ECDSAWithSHA256, "ECDSA-SHA256", oidSignatureECDSAWithSHA256, ECDSA, crypto.SHA256},
x509.go#L363: crypto.SHA256: asn1.RawValue{FullBytes: []byte{48, 52, 160, 15, 48, 13, 6, 9, 96, 134, 72, 1, 101, 3, 4, 2, 1, 5, 0, 161, 28, 48, 26, 6, 9, 42, 134, 72, 134, 247, 13, 1, 1, 8, 48, 13, 6, 9, 96, 134, 72, 1, 101, 3, 4, 2, 1, 5, 0, 162, 3, 2, 1, 32}},
x509.go#L2020: hashFunc = crypto.SHA256
x509.go#L2029: hashFunc = crypto.SHA256
cloud.google.com/go/storage
post_policy_v4.go#L232: return rsa.SignPKCS1v15(rand.Reader, parsedRSAPrivKey, crypto.SHA256, hashedBytes)
storage.go#L650: crypto.SHA256,
storage.go#L698: crypto.SHA256,
golang.org/x/crypto/openpgp
write.go#L273: hashToHashId(crypto.SHA256),
write.go#L352: hashToHashId(crypto.SHA256),
golang.org/x/crypto/openpgp/packet
config.go#L60: return crypto.SHA256
golang.org/x/crypto/openpgp/s2k
s2k.go#L236: {8, crypto.SHA256, "SHA256"},
golang.org/x/crypto/ssh
common.go#L95: KeyAlgoECDSA256: crypto.SHA256,
common.go#L100: CertAlgoECDSA256v01: crypto.SHA256,
kex.go#L414: kexAlgoMap[kexAlgoDHGEXSHA256] = &dhGEXSHA{hashFunc: crypto.SHA256}
kex.go#L469: h := crypto.SHA256.New()
kex.go#L485: Hash: crypto.SHA256,
kex.go#L517: h := crypto.SHA256.New()
kex.go#L548: Hash: crypto.SHA256,
keys.go#L389: hash = crypto.SHA256
keys.go#L612: return crypto.SHA256
keys.go#L977: hashFunc = crypto.SHA256
golang.org/x/crypto/ssh/agent
client.go#L778: case crypto.SHA256:
golang.org/x/oauth2/jws
jws.go#L160: return rsa.SignPKCS1v15(rand.Reader, key, crypto.SHA256, h.Sum(nil))
jws.go#L181: return rsa.VerifyPKCS1v15(key, crypto.SHA256, h.Sum(nil), []byte(signatureString))
google.golang.org/api/idtoken
validate.go#L179: return rsa.VerifyPKCS1v15(pk, crypto.SHA256, hashedContent, sig)
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin 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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |