package
0.0.0-20230101183712-202847b4b89b
Repository: https://github.com/corestoreio/csfw.git
Documentation: pkg.go.dev
# Functions
Deregister removes a previously registered hash and all its HMAC hashes.
FromRegistry returns a hash pool for the given name, otherwise a NotFound error behaviour.
FromRegisterHMAC returns a pool with a HMAC hash from a previously registered hash.
MustFromRegistry same as FromRegistry but panics when the name does not exists in the internal map.
New instantiates a new hash pool with a custom pre-allocated hash.Hash.
New64 instantiates a new hash pool with a custom pre-allocated hash.Hash64.
Register registers a new hash function in the global map.
# Structs
Hash64Mock allows to use a hash.Hash as an argument to the Hash64 Tank.
Tank implements a sync.Pool for hash.Hash.