func golang.org/x/crypto/openpgp.hashToHashId
12 uses
golang.org/x/crypto/openpgp (current package)
keys.go#L556: e.Identities[uid.Id].SelfSignature.PreferredHash = []uint8{hashToHashId(config.DefaultHash)}
write.go#L159: func hashToHashId(h crypto.Hash) uint8 {
write.go#L273: hashToHashId(crypto.SHA256),
write.go#L274: hashToHashId(crypto.SHA384),
write.go#L275: hashToHashId(crypto.SHA512),
write.go#L276: hashToHashId(crypto.SHA1),
write.go#L277: hashToHashId(crypto.RIPEMD160),
write.go#L352: hashToHashId(crypto.SHA256),
write.go#L353: hashToHashId(crypto.SHA384),
write.go#L354: hashToHashId(crypto.SHA512),
write.go#L355: hashToHashId(crypto.SHA1),
write.go#L356: hashToHashId(crypto.RIPEMD160),
 |
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. |