Versions in this module Expand all Collapse all go1 go1.18.10 Jan 10, 2023 Changes in this version + func RegisterHash(h Hash, f func() hash.Hash) + type Decrypter interface + Decrypt func(rand io.Reader, msg []byte, opts DecrypterOpts) (plaintext []byte, err error) + Public func() PublicKey + type DecrypterOpts any + type Hash uint + const BLAKE2b_256 + const BLAKE2b_384 + const BLAKE2b_512 + const BLAKE2s_256 + const MD4 + const MD5 + const MD5SHA1 + const RIPEMD160 + const SHA1 + const SHA224 + const SHA256 + const SHA384 + const SHA3_224 + const SHA3_256 + const SHA3_384 + const SHA3_512 + const SHA512 + const SHA512_224 + const SHA512_256 + func (h Hash) Available() bool + func (h Hash) HashFunc() Hash + func (h Hash) New() hash.Hash + func (h Hash) Size() int + func (h Hash) String() string + type PrivateKey any + type PublicKey any + type Signer interface + Public func() PublicKey + Sign func(rand io.Reader, digest []byte, opts SignerOpts) (signature []byte, err error) + type SignerOpts interface + HashFunc func() Hash