Crate forro

source ·
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

Enums

  • An error returned by this crate.

Constants

Type Definitions