package noise

  1. Overview
  2. Docs
The Noise Protocol Framework

Install

Dune Dependency

Authors

Maintainers

Sources

noise-v0.2.0.tbz
sha256=7dede94fb7ecb85da10af5e9227b1183a3af011b3f780875527e39e2cd68b03b
md5=8e879479c16dd2cc31ff35140373897f

doc/noise._chacha20/Chacha20/index.html

Module Chacha20

val quarter_round : (int32 * int32 * int32 * int32) -> int32 * int32 * int32 * int32
type state
val equal_state : state -> state -> Ppx_deriving_runtime.bool
val make_state : int32 list -> state
val quarter_round_state : state -> (int * int * int * int) -> state
val make_state_for_encryption : key:Cstruct.t -> nonce:Cstruct.t -> count:int32 -> (state, string) result
val process : state -> state
val serialize : state -> Cstruct.t
val encrypt : key:Cstruct.t -> counter:int32 -> nonce:Cstruct.t -> Cstruct.t -> (Cstruct.t, string) result
OCaml

Innovation. Community. Security.