package noise

  1. Overview
  2. Docs
type t =
  1. | Curve_25519
val equal : t -> t -> Ppx_deriving_runtime.bool
val pp : Ppx_deriving_runtime.Format.formatter -> t -> Ppx_deriving_runtime.unit
val show : t -> Ppx_deriving_runtime.string
val of_string : string -> (t, string) Stdlib.result
val len : t -> int

The DHLEN constant for this algorithm (in bytes).

val key_exchange : t -> priv:Private_key.t -> pub:Public_key.t -> Cstruct.t
OCaml

Innovation. Community. Security.