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
Random for more information and examples.
This trait is used by
This is the base trait of the crate. By implementing the required method on your random generator source
it will give you a long list of functions, the important of them is