Skip to main content
>_devtools

Text Encryption (AES, ChaCha20)

Encrypt or decrypt text with AES-GCM/CTR/CBC, ChaCha20-Poly1305, or XChaCha20-Poly1305 from a passphrase or raw key. Output uses a versioned envelope.

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 ciphertext

Limits

  • Keep the passphrase or raw key needed to decrypt the envelope.
  • Plaintext input is limited to 8 MiB.