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 function 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 use only SHA1).

An SHA1 implementation is available to pass to the backends.

Contents Hashing

exception Invalid of string

Exception raised when parsing a human-readable representation of a hash.

module type S = sig ... end

Signature for hash values.

module SHA1 : S

SHA1 digests

OCaml

Innovation. Community. Security.