Function std::rand::rng

pub fn rng() -> IsaacRng

Create a random number generator with a default algorithm and seed.

It returns the cryptographically-safest Rng algorithm currently available in Rust. If you require a specifically seeded Rng for consistency over time you should pick one algorithm and create the Rng yourself.