const crypto.SHA256
21 uses
crypto (current package)
crypto.go#L33: case SHA256:
crypto.go#L73: SHA256 // import crypto/sha256
crypto.go#L96: SHA256: 32,
crypto/internal/hpke
hpke.go#L68: 0x0020: {ecdh.X25519(), crypto.SHA256, 32},
hpke.go#L147: 0x0001: func() *hkdfKDF { return &hkdfKDF{crypto.SHA256} },
crypto/rsa
pkcs1v15.go#L269: 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#L19: 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#L212: {TLS_AES_128_GCM_SHA256, 16, aeadAESGCMTLS13, crypto.SHA256},
cipher_suites.go#L213: {TLS_CHACHA20_POLY1305_SHA256, 32, aeadChaCha20Poly1305, crypto.SHA256},
prf.go#L96: return prf12(sha256.New), crypto.SHA256
crypto/x509
x509.go#L373: {SHA256WithRSA, "SHA256-RSA", oidSignatureSHA256WithRSA, asn1.NullRawValue, RSA, crypto.SHA256, false},
x509.go#L376: {SHA256WithRSAPSS, "SHA256-RSAPSS", oidSignatureRSAPSS, pssParametersSHA256, RSA, crypto.SHA256, true},
x509.go#L380: {DSAWithSHA256, "DSA-SHA256", oidSignatureDSAWithSHA256, emptyRawValue, DSA, crypto.SHA256, false},
x509.go#L382: {ECDSAWithSHA256, "ECDSA-SHA256", oidSignatureECDSAWithSHA256, emptyRawValue, ECDSA, crypto.SHA256, false},
github.com/golang-jwt/jwt/v5
ecdsa.go#L34: SigningMethodES256 = &SigningMethodECDSA{"ES256", crypto.SHA256, 32, 256}
hmac.go#L26: SigningMethodHS256 = &SigningMethodHMAC{"HS256", crypto.SHA256}
rsa.go#L25: SigningMethodRS256 = &SigningMethodRSA{"RS256", crypto.SHA256}
rsa_pss.go#L35: Hash: crypto.SHA256,
 |
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. |