ChaCha Cipher

Key
Nonce
Counter
Rounds
Input
Output

ChaCha is a stream cipher designed by Daniel J. Bernstein. It is a variant of the Salsa stream cipher. Several parameterizations exist; 'ChaCha' may refer to the original construction, or to the variant as described in RFC-8439. ChaCha is often used with Poly1305, in the ChaCha20-Poly1305 AEAD construction.


Options

Key: ChaCha uses a key of 16 or 32 bytes (128 or 256 bits).
Nonce: ChaCha uses a nonce of 8 or 12 bytes (64 or 96 bits).
Counter: ChaCha uses a counter of 4 or 8 bytes (32 or 64 bits); together, the nonce and counter must add up to 16 bytes. The counter starts at zero at the start of the keystream, and is incremented at every 64 bytes.


References

https://wikipedia.org/wiki/Salsa20#ChaCha_variant

Featured Tools

Featured tools that you might find useful.

Popular Tools

List of popular tools that users love and frequently use.

New Tools

The latest tools added to our collection, designed for you.

Topics

The tools grouped by topics to quickly find what you need.
Try this interactive Burrows-Wheeler Transform (BWT) Cipher to safely scramble any text while keeping its original meaning intact—and reverse the transformation anytime to recover the exact original message.

Burrows-Wheeler Transform Cipher

Try this interactive Burrows-Wheeler Transform (BWT) Cipher to safely scramble any text while keeping its original meaning intact—and reverse the transformation anytime to recover the exact original message.