package irmin

  1. Overview
  2. Docs
On This Page
  1. Contents Hashing
Legend:
Library
Module
Module type
Parameter
Class
Class type

Hashing 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.

Contents Hashing

module type S = sig ... end

Signature for hash values.

module type TYPED = sig ... end

Signature for typed hashes, where hash directly takes a value as argument and incremental hashing is not possible.

include module type of Hash
module Make (H : Digestif.S) : sig ... end

Digestif hashes.

module Make_BLAKE2B (D : sig ... end) : sig ... end

Signature for digest hashes, inspired by Digestif.

module Make_BLAKE2S (D : sig ... end) : sig ... end

Signature for digest hashes, inspired by Digestif.

module SHA1 : sig ... end

Signature for digest hashes, inspired by Digestif.

module RMD160 : sig ... end

Signature for digest hashes, inspired by Digestif.

module SHA224 : sig ... end

Signature for digest hashes, inspired by Digestif.

module SHA256 : sig ... end

Signature for digest hashes, inspired by Digestif.

module SHA384 : sig ... end

Signature for digest hashes, inspired by Digestif.

module SHA512 : sig ... end

Signature for digest hashes, inspired by Digestif.

module BLAKE2B : sig ... end

Signature for digest hashes, inspired by Digestif.

module BLAKE2S : sig ... end

Signature for digest hashes, inspired by Digestif.

module V1 (H : sig ... end) : sig ... end

v1 serialisation

module Typed (K : sig ... end) (V : Type.S) : sig ... end

Typed hashes.

OCaml

Innovation. Community. Security.