lundi 24 février 2020

How do you change the generator with the Rand crate?

"The Rust Rand Book" documents various generators. thread_rng claims to be cryptographically secure while others do not. But, I don't see any reference to how to change the generator. I also don't see any way to find out what generator is being used when using thread_rng. I would like to do testing on the various options available, how can I do this?




Aucun commentaire:

Enregistrer un commentaire