type bigstring = (char, Bigarray_compat.int8_unsigned_elt, Bigarray_compat.c_layout) Bigarray_compat.Array1.ttype 'a pp = Stdlib.Format.formatter -> 'a -> unitmodule By : sig ... endmodule Bi : sig ... endmodule Eq : sig ... endmodule Hash : sig ... endmodule Conv : sig ... endval failwith : ('a, unit, string, 'b) Stdlib.format4 -> 'amodule type S = sig ... endmodule type MAC = sig ... endmodule type Desc = sig ... endmodule type Hash = sig ... endmodule type Hash_BLAKE2 = sig ... endmodule Make_BLAKE2 : functor (H : Hash_BLAKE2) -> functor (D : Desc) -> sig ... endmodule BLAKE2B : sig ... endmodule BLAKE2S : sig ... endmodule Make_BLAKE2B : functor (D : sig ... end) -> S with type kind = [ `BLAKE2B ]module Make_BLAKE2S : functor (D : sig ... end) -> S with type kind = [ `BLAKE2S ]include Hash
type 'kind hash = | | MD5 : [ `MD5 ] hash | 
| | SHA1 : [ `SHA1 ] hash | 
| | RMD160 : [ `RMD160 ] hash | 
| | SHA224 : [ `SHA224 ] hash | 
| | SHA256 : [ `SHA256 ] hash | 
| | SHA384 : [ `SHA384 ] hash | 
| | SHA512 : [ `SHA512 ] hash | 
| | SHA3_224 : [ `SHA3_224 ] hash | 
| | SHA3_256 : [ `SHA3_256 ] hash | 
| | SHA3_384 : [ `SHA3_384 ] hash | 
| | SHA3_512 : [ `SHA3_512 ] hash | 
| | WHIRLPOOL : [ `WHIRLPOOL ] hash | 
| | BLAKE2B : int -> [ `BLAKE2B ] hash | 
| | BLAKE2S : int -> [ `BLAKE2S ] hash | 
and kind = [ | | `MD5 | 
| | `SHA1 | 
| | `RMD160 | 
| | `SHA224 | 
| | `SHA256 | 
| | `SHA384 | 
| | `SHA512 | 
| | `SHA3_224 | 
| | `SHA3_256 | 
| | `SHA3_384 | 
| | `SHA3_512 | 
| | `WHIRLPOOL | 
| | `BLAKE2B | 
| | `BLAKE2S | 
 ]val md5 : [ `MD5 ] hashval sha1 : [ `SHA1 ] hashval rmd160 : [ `RMD160 ] hashval sha224 : [ `SHA224 ] hashval sha256 : [ `SHA256 ] hashval sha384 : [ `SHA384 ] hashval sha512 : [ `SHA512 ] hashval sha3_224 : [ `SHA3_224 ] hashval sha3_256 : [ `SHA3_256 ] hashval sha3_384 : [ `SHA3_384 ] hashval sha3_512 : [ `SHA3_512 ] hashval whirlpool : [ `WHIRLPOOL ] hashval blake2b : int -> [ `BLAKE2B ] hashval blake2s : int -> [ `BLAKE2S ] hashval digest_bytes : k. 'k hash -> Stdlib.Bytes.t -> 'k tval digest_string : k. 'k hash -> Stdlib.String.t -> 'k tval digesti_bytes : k. 'k hash -> Stdlib.Bytes.t iter -> 'k tval digesti_string : k. 'k hash -> Stdlib.String.t iter -> 'k tval hmaci_bytes : k. 'k hash -> key:Stdlib.Bytes.t -> Stdlib.Bytes.t iter -> 'k tval hmaci_string : k. 'k hash -> key:Stdlib.String.t -> Stdlib.String.t iter -> 'k tval of_sha3_224 : SHA3_224.t -> [ `SHA3_224 ] tval of_sha3_256 : SHA3_256.t -> [ `SHA3_256 ] tval of_sha3_384 : SHA3_384.t -> [ `SHA3_384 ] tval of_sha3_512 : SHA3_512.t -> [ `SHA3_512 ] tval of_whirlpool : WHIRLPOOL.t -> [ `WHIRLPOOL ] t