package noise

  1. Overview
  2. Docs
The Noise Protocol Framework

Install

Dune Dependency

Authors

Maintainers

Sources

noise-0.1.0.tbz
sha256=6809bc260f7069faadb5cc75223eaa200295bf50bd0cae59a1c0eac244889461
md5=774071c77e418b5c6ab6a08840b2fa73

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.