Module crypto_rng

Module crypto_rng 

Source
Expand description

Cryptographically secure random number generation for security features.

Structs§

SecureRng
Cryptographically secure RNG implementation.
SecureRngStats
Secure RNG statistics.

Functions§

get_secure_rng_stats
Get secure RNG statistics.
init_secure_rng
Initialize secure RNG subsystem.
secure_random_bytes
Fill buffer with cryptographically secure random bytes.
secure_random_range
Generate secure random value in range.
secure_random_u32
Generate secure random u32.
secure_random_u64
Generate secure random u64.