func crypto.RegisterHash
13 uses
crypto (current package)
crypto.go#L145: func RegisterHash(h Hash, f func() hash.Hash) {
crypto/md5
md5.go#L22: crypto.RegisterHash(crypto.MD5, New)
crypto/sha1
sha1.go#L21: crypto.RegisterHash(crypto.SHA1, New)
crypto/sha256
sha256.go#L17: crypto.RegisterHash(crypto.SHA224, New224)
sha256.go#L18: crypto.RegisterHash(crypto.SHA256, New)
crypto/sha3
sha3.go#L17: crypto.RegisterHash(crypto.SHA3_224, func() hash.Hash { return New224() })
sha3.go#L18: crypto.RegisterHash(crypto.SHA3_256, func() hash.Hash { return New256() })
sha3.go#L19: crypto.RegisterHash(crypto.SHA3_384, func() hash.Hash { return New384() })
sha3.go#L20: crypto.RegisterHash(crypto.SHA3_512, func() hash.Hash { return New512() })
crypto/sha512
sha512.go#L21: crypto.RegisterHash(crypto.SHA384, New384)
sha512.go#L22: crypto.RegisterHash(crypto.SHA512, New)
sha512.go#L23: crypto.RegisterHash(crypto.SHA512_224, New512_224)
sha512.go#L24: crypto.RegisterHash(crypto.SHA512_256, New512_256)
 |
The pages are generated with Golds v0.8.4. (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. |