Documentation
¶
Index ¶
- func NewBlake2b256() hash.Hash
- func NewBlake2b384() hash.Hash
- func NewBlake2b512() hash.Hash
- func NewBlake2s256() hash.Hash
- type Algorithm
- type Hash
- func FromBytes(bytes []byte) (*Hash, int, error)
- func FromHex(s string) (*Hash, error)
- func FromSafe64(s string) (*Hash, error)
- func Sum(data []byte, alg Algorithm) *Hash
- func SumAndCompare(data []byte, other Hash) (bool, *Hash)
- func SumReader(reader io.Reader, alg Algorithm) (*Hash, error)
- func SumReaderAndCompare(reader io.Reader, other Hash) (bool, *Hash, error)
- func SumString(data string, alg Algorithm) *Hash
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBlake2b256 ¶
func NewBlake2b384 ¶
func NewBlake2b512 ¶
func NewBlake2s256 ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.