ToolPuma Logo

ChaCha20 Encrypt

Encrypt or decrypt text with the ChaCha20 stream cipher.

Note: ChaCha20 is a fast and secure stream cipher. On encrypt, plaintext is converted to hex before processing and the output is hex ciphertext. On decrypt, paste the hex ciphertext to recover the original text. Never reuse a nonce with the same key.

What Is a ChaCha20 Encrypt?

The ChaCha20 Encrypt tool encrypts and decrypts text with the ChaCha20 stream cipher, the core cipher behind TLS and modern protocols. It runs entirely in your browser and requires a 256-bit key and a 96-bit nonce.

How to Use This ChaCha20 Encrypt

  1. 1
    Enter KeyProvide a 32-byte (64 hex characters) key.
  2. 2
    Enter NonceProvide a 12-byte (24 hex characters) nonce.
  3. 3
    Choose DirectionEnter plaintext to encrypt or hex ciphertext to decrypt.

Frequently Asked Questions

Never. Reusing a nonce with the same key lets an attacker recover the keystream and decrypt both messages. Always use a fresh random nonce.
Paste the hex ciphertext, use the same key and nonce, and choose Decrypt. XORing the ciphertext with the same keystream recovers the plaintext.