Module random

Module random 

Source

Structs§

BulkHardwareRng
High-performance bulk random number generator.
HardwareRng
Hardware-accelerated Random Number Generator
SecureRandom
SeedGenerator
Seed generator using RDSEED for high-quality entropy.

Traits§

EntropySource

Functions§

detect_hardware_rng
Detect hardware RNG capabilities at initialization time.
get_rng_monitor_manager
hardware_fill_bytes
Fill a buffer with random bytes using RDRAND.
is_hardware_rng_available
Check if hardware RNG (RDRAND/RDSEED) is available on this system.
is_rdseed_available
Check if RDSEED (higher quality entropy) is available.
rdseed_fill_bytes
Fill a buffer with random bytes using RDSEED (higher quality entropy).