package digestif

  1. Overview
  2. Docs
type kind = [
  1. | `SHA256
]
type ctx = {
  1. mutable size : int64;
  2. b : Bytes.t;
  3. h : int32 array;
}
val init : unit -> ctx
val unsafe_feed_bytes : ctx -> By.t -> int -> int -> unit
val unsafe_feed_bigstring : ctx -> Bi.t -> int -> int -> unit
val unsafe_get : ctx -> By.t
val dup : ctx -> ctx
OCaml

Innovation. Community. Security.