ChaCha20 Encrypt screenshot

ChaCha20 Encrypt

Encrypt text with the ChaCha20 stream cipher in your browser. Supply a 32-byte key, a 12-byte nonce and a block counter; the output is hex.

Privacy First
0 Runs
Updated 2026-11-06
No upload
Instant
No signup

What this chacha20 encrypt does

ChaCha20 turns the key and nonce into a key stream that is XORed with the message, so the same call decrypts it. The nonce must never repeat under one key: doing so reuses the key stream and leaks the XOR of the two messages. The defaults are the RFC 8439 example so the output can be checked against the standard.

How to use it

ChaCha20 Encrypt: paste the plaintext into the box above, set Key, 64 hex digits (default "000102030405060708090…"), Nonce, 24 hex digits (default "000000000000004a00000000") and Initial block counter (default 1), and press Run to get the hex ciphertext below.

Worked example

Input:

Attack at dawn. Bring coffee.

Output:

633b25922370f9805bfe430ecf0d33cdce6176ec5a0c658d1829af89b0

Why it runs in your browser

The conversion happens on this page with JavaScript. Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere. The page reads plaintext and returns hex ciphertext; reloading the page discards both.

ChaCha20 turns the key and nonce into a key stream that is XORed with the message, so the same call decrypts it. The nonce must never repeat under one key: doing so reuses the key stream and leaks the XOR of the two messages. The defaults are the RFC 8439 example so the output can be checked against the standard.

Encrypt text with the ChaCha20 stream cipher in your browser. Supply a 32-byte key, a 12-byte nonce and a block counter; the output is hex.

How to use it

ChaCha20 Encrypt: paste the plaintext into the box above, set Key, 64 hex digits (default "000102030405060708090…"), Nonce, 24 hex digits (default "000000000000004a00000000") and Initial block counter (default 1), and press Run to get the hex ciphertext below.

Why it runs in your browser

The conversion happens on this page with JavaScript. Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere. The page reads plaintext and returns hex ciphertext; reloading the page discards both.

What to Expect

Best for

  • Converting plaintext to hex ciphertext when the data is already on screen.

What this tool keeps

  • Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere.

Sample input

Attack at dawn. Bring coffee.

Sample output

633b25922370f9805bfe430ecf0d33cdce6176ec5a0c658d1829af89b0

Frequently asked questions

How do I use the chacha20 encrypt?

ChaCha20 Encrypt: paste the plaintext into the box above, set Key, 64 hex digits (default "000102030405060708090…"), Nonce, 24 hex digits (default "000000000000004a00000000") and Initial block counter (default 1), and press Run to get the hex ciphertext below.

Is my input uploaded?

No. The text is parsed on this page with JavaScript and is never posted to a server.

Is there a size limit?

Yes: 5 MB per run. Larger input is refused with a message rather than freezing the tab.

Developer program

Build custom tools for your store

Join the SDK program to create useful ecommerce utilities for your store.