Module Sha.State

Hash state.

type t

The type for hash state.

val make : unit -> t

make () is an initial hash state.

val update : t -> Bytesrw.Bytes.Slice.t -> unit

update state slice updates state with the bytes in the range of slice.