Sourcetype 'a iter = ('a -> unit) -> unit Sourcetype 'a compare = 'a -> 'a -> int Sourcetype 'a equal = 'a -> 'a -> bool Sourcemodule Native = Digestif_native Sourcemodule Hash = Digestif_hash Sourcemodule Conv = Digestif_conv include module type of struct include Hash end
type !'kind hash = 'kind Digestif_hash.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 = [ | `BLAKE2B| `BLAKE2S| `MD5| `RMD160| `SHA1| `SHA224| `SHA256| `SHA384| `SHA3_224| `SHA3_256| `SHA3_384| `SHA3_512| `SHA512| `WHIRLPOOL
]val 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 ] hashSourcetype blake2b = (module S with type kind = [ `BLAKE2B ]) Sourcetype blake2s = (module S with type kind = [ `BLAKE2S ]) Sourceval unsafe_compare : 'k. 'k hash -> 'k t -> 'k t -> int Sourceval consistent_of_hex : 'k. 'k hash -> string -> 'k t Sourceval consistent_of_hex_opt : 'k. 'k hash -> string -> 'k t option Sourceval of_hex_opt : 'k. 'k hash -> string -> 'k t option Sourceval of_raw_string : 'k. 'k hash -> string -> 'k t Sourceval of_raw_string_opt : 'k. 'k hash -> string -> 'k t option Sourceval to_raw_string : 'k. 'k hash -> 'k t -> string Sourceval of_digest :
(module S with type kind = 'kind and type t = 'hash) ->
'hash ->
string