(**************************************************************************) (* *) (* Copyright (c) 2014 - 2017. *) (* Dynamic Ledger Solutions, Inc. *) (* *) (* All rights reserved. No warranty, explicit or implicit, provided. *) (* *) (**************************************************************************) (** Builds a new Hash type using Blake2B. *) module Make_minimal (Name : Hash.Name) : Hash.MINIMAL_HASH module Make (Register : sig val register_encoding: prefix: string -> length: int -> to_raw: ('a -> string) -> of_raw: (string -> 'a option) -> wrap: ('a -> Base58.data) -> 'a Base58.encoding end) (Name : Hash.PrefixedName) : HASH