3 unstable releases
✓ Uses Rust 2018 edition
|0.2.0||Jun 12, 2019|
|0.1.1||Jan 4, 2019|
|0.1.0||Oct 4, 2018|
#12 in Algorithms
562,878 downloads per month
Used in 3,604 crates (75 directly)
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).