Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
A general (inner) iterator. It applies the provided function to a collection of elements. For instance:
let iter_k : 'a -> 'a iter = fun x f -> f x
let iter_pair : 'a * 'a -> 'a iter = fun (x, y) -> f x; f y
let iter_list : 'a list -> 'a iter = fun l f -> List.iter f l
module type S = sig ... end
module type MAC = sig ... end
Some hash algorithms expose extra MAC constructs. The interface is similar to the hmac_*
functions in S
.
module KECCAK_256 : S
KECCAK 256 hash algorithm.
module BLAKE2B : sig ... end
module BLAKE2S : sig ... end
module Make_BLAKE2B (D : sig ... end) : S
module Make_BLAKE2S (D : sig ... end) : S
type 'k hash =
| MD5 : MD5.t hash
| SHA1 : SHA1.t hash
| RMD160 : RMD160.t hash
| SHA224 : SHA224.t hash
| SHA256 : SHA256.t hash
| SHA384 : SHA384.t hash
| SHA512 : SHA512.t hash
| SHA3_224 : SHA3_224.t hash
| SHA3_256 : SHA3_256.t hash
| KECCAK_256 : KECCAK_256.t hash
| SHA3_384 : SHA3_384.t hash
| SHA3_512 : SHA3_512.t hash
| WHIRLPOOL : WHIRLPOOL.t hash
| BLAKE2B : BLAKE2B.t hash
| BLAKE2S : BLAKE2S.t hash
val sha3_224 : SHA3_224.t hash
val sha3_256 : SHA3_256.t hash
val keccak_256 : KECCAK_256.t hash
val sha3_384 : SHA3_384.t hash
val sha3_512 : SHA3_512.t hash
val whirlpool : WHIRLPOOL.t hash
val of_sha3_224 : SHA3_224.t -> SHA3_224.t t
val of_sha3_256 : SHA3_256.t -> SHA3_256.t t
val of_keccak_256 : KECCAK_256.t -> KECCAK_256.t t
val of_sha3_384 : SHA3_384.t -> SHA3_384.t t
val of_sha3_512 : SHA3_512.t -> SHA3_512.t t
val of_whirlpool : WHIRLPOOL.t -> WHIRLPOOL.t t