|0.2.0||Dec 22, 2021|
#7 in #xorshift
134 downloads per month
Used in 3 crates
Implements the Xorshift random number generator.
The Xorshift[^1] algorithm is not suitable for cryptographic purposes
but is very fast. If you do not know for sure that it fits your
requirements, use a more secure one such as
[^1]: Marsaglia, George (July 2003). "Xorshift RNGs". Journal of Statistical Software. Vol. 8 (Issue 14).
no_std compatible. It does not require any functionality
outside of the
core lib, thus there are no features to configure.
serde1 feature includes implementations of
for the included RNGs.
rand_xorshift is distributed under the terms of both the MIT license and the
Apache License (Version 2.0).