tezos-crypto
Blake2B.Make_minimal
Builds a new Hash type using Blake2B.
module Name : Name
type t
val name : string
val title : string
val pp : Format.formatter -> t -> unit
val pp_short : Format.formatter -> t -> unit
include Tezos_stdlib.Compare.S with type t := t
val (=) : t -> t -> bool
x = y iff compare x y = 0
x = y
compare x y = 0
val (<>) : t -> t -> bool
x <> y iff compare x y <> 0
x <> y
compare x y <> 0
val (<) : t -> t -> bool
x < y iff compare x y < 0
x < y
compare x y < 0
val (<=) : t -> t -> bool
x <= y iff compare x y <= 0
x <= y
compare x y <= 0
val (>=) : t -> t -> bool
x >= y iff compare x y >= 0
x >= y
compare x y >= 0
val (>) : t -> t -> bool
x > y iff compare x y > 0
x > y
compare x y > 0
val compare : t -> t -> int
compare an alias for the functor parameter's compare function
compare
val equal : t -> t -> bool
equal x y iff compare x y = 0
equal x y
val max : t -> t -> t
max x y is x if x >= y otherwise it is y
max x y
x
y
val min : t -> t -> t
min x y is x if x <= y otherwise it is y
min x y
val hash_bytes : ?key:Bytes.t -> Bytes.t list -> t
val hash_string : ?key:string -> string list -> t
hash_string ?key inputs returns a hash.
hash_string ?key inputs
Raises an Assert_failure if String.length key > 64.
Assert_failure
String.length key > 64
val zero : t