Module TtweetnaclSource

TweetNaCl cryptography.

The binding exposes two modules with the same signature except for the type used for storing bytes:

References.

Bytes

The type for bigarrays of bytes.

Sourcemodule type BYTES = sig ... end

The module type for byte buffers.

Crypto

Sourcemodule type CRYPTO = sig ... end

The module type for NaCl cryptography.

Sourcemodule Bigcrypto : CRYPTO with type Bytes.t = bigbytes

Crypto on bigbytes.

Sourcemodule Crypto : CRYPTO with type Bytes.t = bytes

Crypto on bytes.