Expand description
The Forró cipher.
Forró is an add-rotate-xor (ARX) cipher recently introduced by Murilo et al. at Asiacrypt 2022. It is similar to the ChaCha cipher, but offers better diffusion and requires fewer rounds. In general, Forró saves about two rounds for every seven ChaCha rounds. In other words, Forró14 is equivalent to ChaCha20, Forró10 is equivalent to ChaCha12, and so on.
This crate implements the non-authenticated stream ciphers and the AEAD APIs.
Warning
Forró is a very new cipher and has not had much independent cryptanalysis. This library is also undertested (e.g., it does not have negative tests.) You should not use this in production.
Structs
- The Forró stream cipher.
- The Forró AEAD.
- The Forró stream cipher with an extended nonce.
- The XForró AEAD.
Enums
- An error returned by this crate.
Constants
- The size in octets of a Forró block.
- The size in octets of a key.
Type Definitions
- The Forró stream cipher reduced to 10 rounds.
- The Forró AEAD using 10 rounds.
- The Forró stream cipher using 14 rounds.
- The Forró AEAD using 14 rounds.
- The Forró stream cipher reduced to 10 rounds with an extended nonce.
- The XForró AEAD using 10 rounds.
- The Forró stream cipher using 14 rounds with an extended nonce.
- The XForró AEAD using 14 rounds.