Encrypt and decrypt data using ChaCha20-Poly1305 — the modern AEAD cipher used in TLS 1.3 and WireGuard
Yes. ChaCha20-Poly1305 is a modern AEAD cipher designed by Daniel J. Bernstein. It is used in TLS 1.3, WireGuard VPN, and SSH. It provides both authenticated encryption and integrity verification.
No. All encryption and decryption operations happen entirely in your browser. No data is ever sent to any server. The key, nonce, and plaintext remain on your device at all times.
Reusing a nonce with the same key breaks the security guarantees of ChaCha20-Poly1305. An attacker who observes two messages encrypted with the same key and nonce can recover the authentication key and forge messages. Always generate a fresh random nonce for each encryption.