Expand description

Api functions related to cryptographic secretbox encryption / decryption using the xchacha20poly1305 algorithm.

See secretbox module-level documentation for usage examples.

Constants

length of secretbox key

length of secretbox mac

length of secretbox nonce

Functions

encrypt data with crytpo_secretbox_xchacha20poly1305_easy

decrypt data with crypto_secretbox_xchacha20poly1305_open_easy

calculate the message len for an easy cipher len