Irmin.HashHashing functions.
Hash provides user-defined hash functions to digest serialized contents. Some backends might be parameterized by such hash functions, others might work with a fixed one (for instance, the Git format uses only SHA1).
A SHA1 implementation is available to pass to the backends.
module type S = sig ... endSignature for hash values.
module type Typed = sig ... endSignature for typed hashes, where hash directly takes a value as argument and incremental hashing is not possible.
module Make_BLAKE2B (D : sig ... end) : SSignature for digest hashes, inspired by Digestif.
module Make_BLAKE2S (D : sig ... end) : SSignature for digest hashes, inspired by Digestif.
module Set : sig ... end