Skip to main contentModule rng
Source - impl_chacha_rng ๐
- ChaCha8Rng
- A cryptographically secure random number generator that uses the ChaCha stream cipher.
- ChaCha12Rng
- A cryptographically secure random number generator that uses the ChaCha stream cipher.
- ChaCha20Rng
- A cryptographically secure random number generator that uses the ChaCha stream cipher.
- BLOCK_WORDS ๐
- Number of 32-bit words per ChaCha block (fixed by algorithm definition).
- BUFFER_SIZE ๐
- Buffer size in words used by buffered RNG.
- BUF_BLOCKS ๐
- Number of blocks generated by RNG core.
- Seed
- Seed value used to initialize ChaCha-based RNGs.
- SerializedRngState
- Serialized RNG state.