package ttweetnacl

  1. Overview
  2. Docs

The module type for NaCl cryptography.

See the NaCl documentation for more information on how to use the functions.

module Bytes : BYTES

The module for bytes.

module Entropy : sig ... end

Entropy gathering (from the OS).

Public-key cryptography

module Box : sig ... end

Public-key authenticated encryption

module Scalarmult : sig ... end

Scalar multiplication.

module Sign : sig ... end

Signatures.

Secret-key cryptography

module Secretbox : sig ... end

Secret-key authenticated encryption.

module Stream : sig ... end

Secret-key encryption.

module Onetimeauth : sig ... end

One-time authentication.

Low-level functions

module Hash : sig ... end

Hashing

module Verify : sig ... end

Constant time bytes comparison.

OCaml

Innovation. Community. Security.