Module nanorand::rand::chacha

source ·
Expand description

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

Structs

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

Type Definitions

  • The ChaCha CSPRNG, with 8 rounds.
  • The ChaCha CSPRNG, with 12 rounds.
  • The ChaCha CSPRNG, with 20 rounds.