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.
LS47 Cipher is a slight improvement of the ElsieFour cipher as described by Alan Kaminsky. It use 7x7 characters instead of original (barely fitting) 6x6, to be able to encrypt some structured information. It also describe a simple key-expansion algorithm, because remembering passwords is popular.

LS47 Cipher

LS47 Cipher is a slight improvement of the ElsieFour cipher as described by Alan Kaminsky. It use 7x7 characters instead of original (barely fitting) 6x6, to be able to encrypt some structured information. It also describe a simple key-expansion algorithm, because remembering passwords is popular.
RC2 (also known as ARC2) is a symmetric-key block cipher designed by Ron Rivest in 1987. 'RC' stands for 'Rivest Cipher'.

RC2 Cipher

RC2 (also known as ARC2) is a symmetric-key block cipher designed by Ron Rivest in 1987. 'RC' stands for 'Rivest Cipher'.
Characters Escape & Unescape can escapes special characters in a string so that they do not cause conflicts, and unescapes Characters in a string that have been escaped.

Characters Escape & Unescape

Characters Escape & Unescape can escapes special characters in a string so that they do not cause conflicts, and unescapes Characters in a string that have been escaped.
Unicode Characters Escape & Unescape can convert characters to their unicode-escaped notations, and convert unicode-escaped character notation back into raw characters.

Unicode Characters Escape & Unescape

Unicode Characters Escape & Unescape can convert characters to their unicode-escaped notations, and convert unicode-escaped character notation back into raw characters.