package digestif

  1. Overview
  2. Docs
Hashes implementations (SHA*, RIPEMD160, BLAKE2* and MD5)

Install

Dune Dependency

Authors

Maintainers

Sources

digestif-1.1.2.tbz
sha256=79d34ce513b114857e380aabdf6f1473218f1b05dd7e51d03890779ed01b4666
sha512=83e41de192443029baf86212488e986b2c73c19fb4ba59342685d44b36b2dcaf070aa9687277577058437c6513b76c204164ad96151dacdfb796b4080db7e50c

doc/digestif.ocaml/Digestif/SHA3_256/index.html

Module Digestif.SHA3_256Source

Sourceval digest_size : int
Sourcetype ctx
Sourcetype t
Sourceval empty : ctx
Sourceval init : unit -> ctx
Sourceval feed_bytes : ctx -> ?off:int -> ?len:int -> Bytes.t -> ctx
Sourceval feed_string : ctx -> ?off:int -> ?len:int -> String.t -> ctx
Sourceval feed_bigstring : ctx -> ?off:int -> ?len:int -> bigstring -> ctx
Sourceval feedi_bytes : ctx -> Bytes.t iter -> ctx
Sourceval feedi_string : ctx -> String.t iter -> ctx
Sourceval feedi_bigstring : ctx -> bigstring iter -> ctx
Sourceval get : ctx -> t
Sourceval digest_bytes : ?off:int -> ?len:int -> Bytes.t -> t
Sourceval digest_string : ?off:int -> ?len:int -> String.t -> t
Sourceval digest_bigstring : ?off:int -> ?len:int -> bigstring -> t
Sourceval digesti_bytes : Bytes.t iter -> t
Sourceval digesti_string : String.t iter -> t
Sourceval digesti_bigstring : bigstring iter -> t
Sourceval digestv_bytes : Bytes.t list -> t
Sourceval digestv_string : String.t list -> t
Sourceval digestv_bigstring : bigstring list -> t
Sourceval hmac_bytes : key:string -> ?off:int -> ?len:int -> Bytes.t -> t
Sourceval hmac_string : key:string -> ?off:int -> ?len:int -> String.t -> t
Sourceval hmac_bigstring : key:string -> ?off:int -> ?len:int -> bigstring -> t
Sourceval hmaci_bytes : key:string -> Bytes.t iter -> t
Sourceval hmaci_string : key:string -> String.t iter -> t
Sourceval hmaci_bigstring : key:string -> bigstring iter -> t
Sourceval hmacv_bytes : key:string -> Bytes.t list -> t
Sourceval hmacv_string : key:string -> String.t list -> t
Sourceval hmacv_bigstring : key:string -> bigstring list -> t
val unsafe_compare : t compare
val equal : t equal
val pp : t pp
val of_hex : string -> t
val of_hex_opt : string -> t option
val consistent_of_hex : string -> t
val consistent_of_hex_opt : string -> t option
val to_hex : t -> string
val of_raw_string : string -> t
val of_raw_string_opt : string -> t option
val to_raw_string : t -> string
OCaml

Innovation. Community. Security.