aws_lc_rs::rand

Function generate

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

Generate the new random value using rng.

ยงErrors

error::Unspecified if unable to fill buffer.