digestif
Hashes implementations (SHA*, RIPEMD160, BLAKE2* and MD5)
1024" x-on:close-sidebar="sidebar=window.innerWidth > 1024 && true">
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Library digestif_c
type bigstring =
( char, Bigarray_compat.int8_unsigned_elt, Bigarray_compat.c_layout )
Bigarray_compat.Array1.t
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
type 'a pp = Format.formatter -> 'a -> unit
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
.
type 'k 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 |
module BLAKE2B : sig ... end
module BLAKE2S : sig ... end
module Make_BLAKE2B (D : sig ... end) : S with type kind = [ `BLAKE2B ]
module Make_BLAKE2S (D : sig ... end) : S with type kind = [ `BLAKE2S ]
val md5 : [ `MD5 ] hash
val sha1 : [ `SHA1 ] hash
val rmd160 : [ `RMD160 ] hash
val sha224 : [ `SHA224 ] hash
val sha256 : [ `SHA256 ] hash
val sha384 : [ `SHA384 ] hash
val sha512 : [ `SHA512 ] hash
val sha3_224 : [ `SHA3_224 ] hash
val sha3_256 : [ `SHA3_256 ] hash
val sha3_384 : [ `SHA3_384 ] hash
val sha3_512 : [ `SHA3_512 ] hash
val whirlpool : [ `WHIRLPOOL ] hash
val blake2b : int -> [ `BLAKE2B ] hash
val blake2s : int -> [ `BLAKE2S ] hash
val of_sha3_224 : SHA3_224.t -> [ `SHA3_224 ] t
val of_sha3_256 : SHA3_256.t -> [ `SHA3_256 ] t
val of_sha3_384 : SHA3_384.t -> [ `SHA3_384 ] t
val of_sha3_512 : SHA3_512.t -> [ `SHA3_512 ] t
val of_whirlpool : WHIRLPOOL.t -> [ `WHIRLPOOL ] t