You can search for identifiers within the package.
in-package search v0.2.0
type t
Hash state.
val digest_size : int
Size of hash results, in bytes.
val init : unit -> t
Create a new hash state.
val feed : t -> Cstruct.t -> unit
Hash the input, updating the state.
val get : t -> Cstruct.t
Extract the digest; state becomes invalid.
val digest : Cstruct.t -> Cstruct.t
Compute the digest.
val digestv : Cstruct.t list -> Cstruct.t
val hmac : key:Cstruct.t -> Cstruct.t -> Cstruct.t
hmac ~key bytes is authentication code for bytes under the secret key, generated using the standard HMAC construction over this hash algorithm.
hmac ~key bytes
bytes
key