Versions in this module Expand all Collapse all v0 v0.21.1 Mar 12, 2021 Changes in this version + const HashSize + const MaxHashStringSize + var ErrHashStrSize = fmt.Errorf("max hash string length is %v bytes", MaxHashStringSize) + func Decode(dst *Hash, src string) error + func DoubleHashB(b []byte) []byte + func HashB(b []byte) []byte + type Hash [HashSize]byte + func DoubleHashH(b []byte) Hash + func HashH(b []byte) Hash + func NewHash(newHash []byte) (*Hash, error) + func NewHashFromStr(hash string) (*Hash, error) + func (hash *Hash) CloneBytes() []byte + func (hash *Hash) IsEqual(target *Hash) bool + func (hash *Hash) SetBytes(newHash []byte) error + func (hash Hash) String() string