Mavryk_crypto.Blake2BMavryk - Manipulation and creation of hashes
val pp : Stdlib.Format.formatter -> t -> unitval pp_short : Stdlib.Format.formatter -> t -> unitinclude Mavryk_stdlib.Compare.S with type t := tval hash_bytes : ?key:Stdlib.Bytes.t -> Stdlib.Bytes.t list -> tval hash_string : ?key:string -> string list -> thash_string ?key inputs returns a hash.
Raises an Assert_failure if String.length key > 64.
val zero : tval to_hex : t -> Mavryk_stdlib.Hex.tval of_hex : Mavryk_stdlib.Hex.t -> t Mavryk_error_monad.Error_monad.tzresultval of_hex_opt : Mavryk_stdlib.Hex.t -> t optionval of_hex_exn : Mavryk_stdlib.Hex.t -> tval to_string : t -> stringval of_string : string -> t Mavryk_error_monad.Error_monad.tzresultval of_string_opt : string -> t optionval of_string_exn : string -> tval to_bytes : t -> Stdlib.Bytes.tval of_bytes : Stdlib.Bytes.t -> t Mavryk_error_monad.Error_monad.tzresultval of_bytes_opt : Stdlib.Bytes.t -> t optionval of_bytes_exn : Stdlib.Bytes.t -> tThe parameters for creating a new Hash type using Make_Blake2B. Both name and title are only informative, used in error messages and serializers.
module type Name = sig ... endmodule type PrefixedName = sig ... endmodule Make_minimal (Name : Name) : sig ... endBuilds a new Hash type using Blake2B.
module type Register = sig ... endmodule Make (Register : Register) (Name : PrefixedName) : sig ... end