Available on non-WebAssembly only.
Expand description
A backup RNG, independent of other known sources.
Not necessarily strong, but hopefully random enough to cause an attacker some trouble in the event of catastrophic failure.
A failure from this RNG does not cause a panic.
Statics§
- JITTER_
BACKUP 🔒 - Static instance of our BackupRng; None if we failed to construct one.
Functions§
- backup_
rng 🔒 - Return a MutexGuard for our backup rng, or None if we couldn’t construct one.
- new_
backup_ 🔒rng - Construct a new instance of our backup Rng; return None on failure.
Type Aliases§
- Backup
Rng 🔒 - The type we’ve chosen to use for our backup Rng.