cap_rand

Function std_rng_from_entropy

Source
pub fn std_rng_from_entropy(ambient_authority: AmbientAuthority) -> StdRng
Expand description

Retrieve the standard random number generator, seeded by the system.

This corresponds to rand::rngs::StdRng::from_entropy.

ยงAmbient Authority

This function makes use of ambient authority to access the platform entropy source.