Expand description
Randomness abstraction (RFC-020).
All secret generation goes through RandomSource so it can be made
deterministic in tests and so that production failure propagates instead of
silently degrading. The cardinal rule: RNG failure is fatal to the
operation; no fallback value is ever produced (INV-3).
Structs§
- System
Random - Production randomness backed by the platform CSPRNG via
getrandom.
Traits§
- Random
Source - A source of cryptographically secure random bytes.