package digestif

  1. Overview
  2. Docs

Module DigestifSource

Sourcetype 'a iter = ('a -> unit) -> unit
Sourcetype 'a compare = 'a -> 'a -> int
Sourcetype 'a equal = 'a -> 'a -> bool
Sourcetype 'a pp = Format.formatter -> 'a -> unit
Sourcemodule By = Digestif_by
Sourcemodule Bi = Digestif_bi
Sourcemodule Eq = Digestif_eq
Sourcemodule Conv = Digestif_conv
Sourceval failwith : ('a, unit, string, 'b) format4 -> 'a
Sourcemodule type S = sig ... end
Sourcemodule type MAC = sig ... end
Sourcemodule type Desc = sig ... end
Sourcemodule type Hash = sig ... end
Sourcemodule Unsafe (Hash : Hash) (D : Desc) : sig ... end
Sourcemodule Core (Hash : Hash) (D : Desc) : sig ... end
Sourcemodule Make (H : Hash) (D : Desc) : sig ... end
Sourcemodule type Hash_BLAKE2 = sig ... end
Sourcemodule Make_BLAKE2 (H : Hash_BLAKE2) (D : Desc) : sig ... end
Sourcemodule MD5 : S
Sourcemodule SHA1 : S
Sourcemodule SHA224 : S
Sourcemodule SHA256 : S
Sourcemodule SHA384 : S
Sourcemodule SHA512 : S
Sourcemodule SHA3_224 : S
Sourcemodule SHA3_256 : S
Sourcemodule SHA3_384 : S
Sourcemodule SHA3_512 : S
Sourcemodule BLAKE2B : sig ... end
Sourcemodule BLAKE2S : sig ... end
Sourcemodule RMD160 : S
Sourcemodule Make_BLAKE2B (D : sig ... end) : S
Sourcemodule Make_BLAKE2S (D : sig ... end) : S
Sourcetype 'k hash =
  1. | MD5 : MD5.t hash
  2. | SHA1 : SHA1.t hash
  3. | RMD160 : RMD160.t hash
  4. | SHA224 : SHA224.t hash
  5. | SHA256 : SHA256.t hash
  6. | SHA384 : SHA384.t hash
  7. | SHA512 : SHA512.t hash
  8. | SHA3_224 : SHA3_224.t hash
  9. | SHA3_256 : SHA3_256.t hash
  10. | KECCAK_256 : KECCAK_256.t hash
  11. | SHA3_384 : SHA3_384.t hash
  12. | SHA3_512 : SHA3_512.t hash
  13. | WHIRLPOOL : WHIRLPOOL.t hash
  14. | BLAKE2B : BLAKE2B.t hash
  15. | BLAKE2S : BLAKE2S.t hash
Sourceval md5 : MD5.t hash
Sourceval sha1 : SHA1.t hash
Sourceval rmd160 : RMD160.t hash
Sourceval sha224 : SHA224.t hash
Sourceval sha256 : SHA256.t hash
Sourceval sha384 : SHA384.t hash
Sourceval sha512 : SHA512.t hash
Sourceval sha3_224 : SHA3_224.t hash
Sourceval sha3_256 : SHA3_256.t hash
Sourceval keccak_256 : KECCAK_256.t hash
Sourceval sha3_384 : SHA3_384.t hash
Sourceval sha3_512 : SHA3_512.t hash
Sourceval whirlpool : WHIRLPOOL.t hash
Sourceval blake2b : BLAKE2B.t hash
Sourceval blake2s : BLAKE2S.t hash
Sourcetype hash' = [
  1. | `MD5
  2. | `SHA1
  3. | `RMD160
  4. | `SHA224
  5. | `SHA256
  6. | `SHA384
  7. | `SHA512
  8. | `SHA3_224
  9. | `SHA3_256
  10. | `KECCAK_256
  11. | `SHA3_384
  12. | `SHA3_512
  13. | `WHIRLPOOL
  14. | `BLAKE2B
  15. | `BLAKE2S
]
Sourceval hash_to_hash' : 'a. 'a hash -> hash'
Sourceval module_of_hash' : hash' -> (module S)
Sourceval module_of : 'k. 'k hash -> (module S with type t = 'k)
Sourcetype 'hash t = 'hash
Sourceval digest_bytes : 'k. 'k hash -> Bytes.t -> 'k t
Sourceval digest_string : 'k. 'k hash -> String.t -> 'k t
Sourceval digest_bigstring : 'k. 'k hash -> bigstring -> 'k t
Sourceval digesti_bytes : 'k. 'k hash -> Bytes.t iter -> 'k t
Sourceval digesti_string : 'k. 'k hash -> String.t iter -> 'k t
Sourceval digesti_bigstring : 'k. 'k hash -> bigstring iter -> 'k t
Sourceval hmaci_bytes : 'k. 'k hash -> key:string -> Bytes.t iter -> 'k t
Sourceval hmaci_string : 'k. 'k hash -> key:string -> String.t iter -> 'k t
Sourceval hmaci_bigstring : 'k. 'k hash -> key:string -> bigstring iter -> 'k t
Sourceval unsafe_compare : 'k. 'k hash -> 'k t -> 'k t -> int
Sourceval equal : 'k. 'k hash -> 'k t equal
Sourceval pp : 'k. 'k hash -> 'k t pp
Sourceval of_hex : 'k. 'k hash -> string -> 'k t
Sourceval of_hex_opt : 'k. 'k hash -> string -> 'k t option
Sourceval consistent_of_hex : 'k. 'k hash -> string -> 'k t
Sourceval consistent_of_hex_opt : 'k. 'k hash -> string -> 'k t option
Sourceval to_hex : 'k. 'k hash -> 'k t -> string
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 t = 'hash) -> 'hash t t -> 'hash t
Sourceval of_md5 : 'a -> 'a
Sourceval of_sha1 : 'a -> 'a
Sourceval of_rmd160 : 'a -> 'a
Sourceval of_sha224 : 'a -> 'a
Sourceval of_sha256 : 'a -> 'a
Sourceval of_sha384 : 'a -> 'a
Sourceval of_sha512 : 'a -> 'a
Sourceval of_sha3_224 : 'a -> 'a
Sourceval of_sha3_256 : 'a -> 'a
Sourceval of_keccak_256 : 'a -> 'a
Sourceval of_sha3_384 : 'a -> 'a
Sourceval of_sha3_512 : 'a -> 'a
Sourceval of_whirlpool : 'a -> 'a
Sourceval of_blake2b : 'a -> 'a
Sourceval of_blake2s : 'a -> 'a
OCaml

Innovation. Community. Security.