package noise

  1. Overview
  2. Docs
An OCaml implementation of the Noise Protocol Framework (rev 34)

Install

dune-project
 Dependency

Authors

Maintainers

Sources

noise-0.1.0.tbz
sha256=fcd0da39248e25d9c96405d665d2a019b981449967611e1f41aa026c75af9ecc
sha512=450557c5ccb8cc0efb026574918466c59b2585f8c138b873b7501dae129ac21ebb197555ea27839f6f03bb90112055e84d22d051d3989cac3532b2468526b9cd

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