Versions in this module Expand all Collapse all v0 v0.1.1 Jan 19, 2019 v0.1.0 Aug 16, 2018 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