package ttweetnacl

  1. Overview
  2. Docs

Crypto on bytes.

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

module Bytes : BYTES with type t = 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.