ring::rand

Function generate

Source
pub fn generate<T>(rng: &dyn SecureRandom) -> Result<Random<T>, Unspecified>
Expand description

Generate the new random value using rng.