func golang.org/x/crypto/openpgp/s2k.HashToHashId
6 uses
golang.org/x/crypto/openpgp/s2k (current package)
s2k.go#L210: buf[1], _ = HashToHashId(c.hash())
s2k.go#L266: func HashToHashId(h crypto.Hash) (id byte, ok bool) {
golang.org/x/crypto/openpgp
write.go#L160: v, ok := s2k.HashToHashId(h)
golang.org/x/crypto/openpgp/packet
one_pass_signature.go#L58: buf[2], ok = s2k.HashToHashId(ops.Hash)
signature.go#L477: sig.HashSuffix[3], ok = s2k.HashToHashId(sig.Hash)
signature_v3.go#L123: hashId, ok := s2k.HashToHashId(sig.Hash)
![]() |
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. |