// UseHashFunction allows you to set the hash function used by the HAMT. It
// defaults to murmur3 but you should use sha256 when an attacker can pick the
// keys.
UseHashFunction allows you to set the hash function used by the HAMT. It
defaults to murmur3 but you should use sha256 when an attacker can pick the
keys.
// UseHashFunction allows you to set the hash function used by the HAMT . It // defaults to murmur3 but you should use sha256 when an attacker can pick the // keys .
func UseHashFunction(hash func([]byte) []byte) Option {
	return func(nd *Node) {
		nd.hash = hash
	}
}
func UseHashFunction ( hash func ( [ ] byte ) [ ] byte ) Option { return func ( nd * Node ) { nd . hash = hash } }
UseHashFunction allows you to set the hash function used by the HAMT.
UseHashFunction allows you to set the hash function used by the HAMT .