Versions in this module Expand all Collapse all v1 v1.4.2 Oct 4, 2021 v1.4.1 Oct 4, 2021 Changes in this version + const BlockSize + const KeySize + const PersonSize + const SaltSize + const Size + func New(c *Config) (hash.Hash, error) + func New256() hash.Hash + func NewMAC(outBytes uint8, key []byte) hash.Hash + func Sum256(data []byte) [Size]byte + type Config struct + Key []byte + Person []byte + Salt []byte + Size uint8 + Tree *Tree + type Tree struct + Fanout uint8 + InnerHashSize uint8 + IsLastNode bool + LeafSize uint32 + MaxDepth uint8 + NodeDepth uint8 + NodeOffset uint64