Expand description
Content encryption using ChaCha20-Poly1305.
Enums§
Functions§
- decrypt
- Decrypt data using ChaCha20-Poly1305.
- encrypt
- Encrypt data using ChaCha20-Poly1305.
- generate_
key - Generate a random encryption key.
- generate_
nonce - Generate a random nonce.
Type Aliases§
- Encryption
Key - Encryption key (256 bits).
- Encryption
Nonce - Nonce for encryption (96 bits).