-record(hash, { update :: fun((bitstring()) -> munch@internal@hash:hash()), finish :: fun(() -> bitstring()) }).