package noise

  1. Overview
  2. Docs
type t =
  1. | SHA256
  2. | SHA512
  3. | BLAKE2s
  4. | BLAKE2b
val equal : t -> t -> Ppx_deriving_runtime.bool
val of_string : string -> (t, string) result
val len : t -> int

HASHLEN

val hash : t -> Cstruct.t -> Cstruct.t
val hmac : t -> key:Cstruct.t -> Cstruct.t -> Cstruct.t
OCaml

Innovation. Community. Security.