# Functions
GetHasher returns a new hash.Hash according to the indicator code number provided.
GetVariableHasher returns a new hash.Hash according to the indicator code number provided, with the specified size hint.
Register adds a new hash to the set available from GetHasher and Sum.
RegisterVariableSize is like Register, but adds a new variable-sized hasher factory that takes a size hint.
# Constants
constants.
constants.
constants.
constants.
constants.
constants.
constants.
constants.
constants.
constants.
constants.
constants.
constants.
constants.
constants.
constants.
constants.
constants.
constants.
constants.
constants.
constants.
# Variables
DefaultLengths maps a multihash indicator code to the output size for that hash, in units of bytes.
ErrLenTooLarge is returned when the hash function cannot produce the requested number of bytes.
ErrSumNotSupported is returned when the Sum function code is not implemented.