func golang.org/x/crypto/openpgp/s2k.HashIdToHash
7 uses
golang.org/x/crypto/openpgp/s2k (current package)
s2k.go#L164: hash, ok := HashIdToHash(buf[1])
s2k.go#L244: func HashIdToHash(id byte) (h crypto.Hash, ok bool) {
golang.org/x/crypto/openpgp
write.go#L190: if h, ok := s2k.HashIdToHash(hashId); ok && h.Available() {
write.go#L199: if h, ok := s2k.HashIdToHash(hashId); ok && h == configuredHash {
golang.org/x/crypto/openpgp/packet
one_pass_signature.go#L40: ops.Hash, ok = s2k.HashIdToHash(buf[2])
signature.go#L108: sig.Hash, ok = s2k.HashIdToHash(buf[2])
signature_v3.go#L80: if sig.Hash, ok = s2k.HashIdToHash(buf[1]); !ok {
![]() |
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. |