Module chacha

Source
Expand description

Implementation of the ChaCha CSPRNG algorithm. More details can be seen at https://en.wikipedia.org/wiki/Salsa20

Structs§

ChaCha
An instance of the ChaCha random number generator. Seeded from the system entropy generator when available. This generator is theoretically cryptographically secure.

Type Aliases§

ChaCha8
The ChaCha CSPRNG, with 8 rounds.
ChaCha12
The ChaCha CSPRNG, with 12 rounds.
ChaCha20
The ChaCha CSPRNG, with 20 rounds.