Expand description

Basic authenticated encryption using xsalsa20poly1305

Structs

XSalsa20Poly1305 (a.k.a. NaCl crypto_secretbox) authenticated encryption cipher.

Functions

Decrypt the given ciphertext with nonce using a given key

Encrypt a given plaintext with a given key, and return the nonce used together with the ciphertext

Generate an encryption key