Expand description
Cryptographic pseudo-random number generation.
ring functions that generate random bytes take a &dyn SecureRandom
parameter to make it clear which functions are non-deterministic.
Structs§
- Random
- A random value constructed from a
SecureRandom
that hasn’t been exposed through any safe Rust interface. - System
Random - A secure random number generator where the random values come directly from the operating system.
Traits§
- Randomly
Constructable - A type that can be returned by
ring::rand::generate()
. - Secure
Random - A secure random number generator.
Functions§
- generate
- Generate the new random value using
rng
.