Module Blake3.State

Hash state.

type t

The type for hash state.

val make : ?key:key -> unit -> t

make ?key () is an initial hash state with given parameters. If key is unspecified the hash is unkeyed.

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

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