Versions in this module Expand all Collapse all v0 v0.12.2 Mar 18, 2021 Changes in this version + const HashSize + const PreimageSize + type Hash [HashSize]byte + var ZeroHash Hash + func MakeHash(newHash []byte) (Hash, error) + func MakeHashFromStr(newHash string) (Hash, error) + func (hash Hash) String() string + type Preimage [PreimageSize]byte + func MakePreimage(newPreimage []byte) (Preimage, error) + func MakePreimageFromStr(newPreimage string) (Preimage, error) + func (p *Preimage) Hash() Hash + func (p *Preimage) Matches(h Hash) bool + func (p Preimage) String() string