Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type storage = Bytes.t
of_nonce n
converts n
to storage
. The result is nonce_size
bytes long.
secret_box k m n
encrypts and authenticates a message m
using a secret key k
and a nonce n
, and returns the resulting ciphertext.