Versions in this module Expand all Collapse all v0 v0.1.2 Dec 2, 2021 Changes in this version + const KECCAK + const KECCAK_224 + const KECCAK_256 + const KECCAK_384 + const KECCAK_512 + const SHA1 + const SHA2 + const SHA2_224 + const SHA2_256 + const SHA2_384 + const SHA2_512 + const SHA3 + const SHA3_224 + const SHA3_256 + const SHA3_384 + const SHA3_512 + const Size224 + const Size256 + const Size384 + const Size512 + type FakeHasher struct + func GetFakeHasher() *FakeHasher + func (f *FakeHasher) BatchHash(msg [][]byte) (hash []byte, err error) + func (f *FakeHasher) BlockSize() int + func (f *FakeHasher) Hash(msg []byte) (hash []byte, err error) + func (f *FakeHasher) Reset() + func (f *FakeHasher) Size() int + func (f *FakeHasher) Sum(b []byte) []byte + func (f *FakeHasher) Write(p []byte) (n int, err error) + type HashType uint32 + type Hasher struct + func NewHasher(hashType HashType) *Hasher + func (h *Hasher) BatchHash(msg [][]byte) (hash []byte, err error) + func (h *Hasher) BlockSize() int + func (h *Hasher) Hash(msg []byte) (hash []byte, err error) + func (h *Hasher) HashBuffer(msg []byte, buf []byte) (hash []byte, err error) + func (h *Hasher) Reset() + func (h *Hasher) Size() int + func (h *Hasher) Sum(b []byte) []byte + func (h *Hasher) Write(p []byte) (n int, err error) v0.1.1 Jul 21, 2021