Random Trait
This crate provides a simple thin trait for producing generic random values based on any random source. The crates assurances are based on the assurances of the RNG it is implemented on. if that RNG is cryptographically secure then this crate should provide a cryptographically secure numbers. (including floats) if the RNG is biased (which is fine for tests and some other applications) then the results will also be bias. This crate does not try to compensate for biases in the RNG source.
please see the GenerateRand
and Random
for more information and examples.