package noise

  1. Overview
  2. Docs
type t =
  1. | Curve_25519
val equal : t -> t -> Ppx_deriving_runtime.bool
val of_string : string -> (t, string) 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