What it does
Encrypt or decrypt text with AES, ChaCha20-Poly1305, or compatible AES modes. Select an algorithm and key source; authenticated modes detect a wrong key or changed ciphertext.
Example
Plaintext: hello
Mode: AES-256-GCM
Output: a versioned envelope containing the salt, nonce, and ciphertextLimits
- Keep the passphrase or raw key needed to decrypt the envelope.
- Plaintext input is limited to 8 MiB.