Predefined Hashes
include Tezos_stdlib.Compare.S with type t := t
x = y iff compare x y = 0
x <> y iff compare x y <> 0
x < y iff compare x y < 0
x <= y iff compare x y <= 0
x >= y iff compare x y >= 0
x > y iff compare x y > 0
compare an alias for the functor parameter's compare function
equal x y iff compare x y = 0
max x y is x if x >= y otherwise it is y
min x y is x if x <= y otherwise it is y
Sourceval hash_string : ?key:string -> string list -> t hash_string ?key inputs returns a hash.
Raises an Assert_failure if String.length key > 64.
Sourceval of_string_opt : string -> t option Sourceval of_string_exn : string -> t Building Hashes
The parameters for creating a new Hash type using Make_Blake2B. Both name and title are only informative, used in error messages and serializers.
Builds a new Hash type using Blake2B.