package digestif

  1. Overview
  2. Docs
type ctx
val init : unit -> ctx
val feed : ctx -> buffer -> unit
val feed_bytes : ctx -> Digestif_sig.Bytes.t -> unit
val feed_bigstring : ctx -> Digestif_sig.Bigstring.t -> unit
val get : ctx -> t
val digest : buffer -> t
val digestv : buffer list -> t
val hmac : key:buffer -> buffer -> t
val hmacv : key:buffer -> buffer list -> t
val compare : t -> t -> int
val eq : t -> t -> bool
val neq : t -> t -> bool
val pp : Format.formatter -> t -> unit
val of_hex : buffer -> t
val to_hex : t -> buffer
OCaml

Innovation. Community. Security.