Function aws_lc_rs::rand::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.