package noise

  1. Overview
  2. Docs
type t =
  1. | AES_GCM
  2. | Chacha_poly
val equal : t -> t -> Ppx_deriving_runtime.bool
val of_string : string -> (t, string) result
val encrypt_with_ad : t -> key:Private_key.t -> nonce:int64 -> ad:Cstruct.t -> Cstruct.t -> (Cstruct.t, string) result
val decrypt_with_ad : t -> key:Private_key.t -> nonce:int64 -> ad:Cstruct.t -> Cstruct.t -> (Cstruct.t, string) result
OCaml

Innovation. Community. Security.