Module Digestif.Unsafe

Parameters

module Hash : Hash
module D : Desc

Signature

val digest_size : int
val block_size : int
val empty : Hash.ctx
val init : unit -> Hash.ctx
val unsafe_feed_bytes : Hash.ctx -> ?off:int -> ?len:int -> By.t -> unit
val unsafe_feed_string : Hash.ctx -> ?off:int -> ?len:int -> string -> unit
val unsafe_feed_bigstring : Hash.ctx -> ?off:int -> ?len:int -> (char, Bigarray_compat.int8_unsigned_eltBigarray_compat.c_layout) Bigarray_compat.Array1.t -> unit
val unsafe_get : Hash.ctx -> By.t