Clone this repo:
  1. 7dac338 Remove bincode blocklist by Martin Geisler · 2 weeks ago main master
  2. 0dd180c Migrate to cargo_embargo. am: 7a09400d62 am: 5b623a5a3a am: 84f3091d4f by Andrew Walbran · 6 months ago
  3. 7801ac7 Migrate to cargo_embargo. am: 7a09400d62 am: 9bbdf0a8c6 am: 4206e96812 by Andrew Walbran · 6 months ago
  4. 84f3091 Migrate to cargo_embargo. am: 7a09400d62 am: 5b623a5a3a by Andrew Walbran · 6 months ago
  5. 4206e96 Migrate to cargo_embargo. am: 7a09400d62 am: 9bbdf0a8c6 by Andrew Walbran · 6 months ago

rand_xorshift

Build Status Build Status Latest version Book API API Minimum rustc version

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 StdRng or OsRng.

[^1]: Marsaglia, George (July 2003). "Xorshift RNGs". Journal of Statistical Software. Vol. 8 (Issue 14).

Links:

Crate Features

rand_xorshift is no_std compatible. It does not require any functionality outside of the core lib, thus there are no features to configure.

The serde1 feature includes implementations of Serialize and Deserialize for the included RNGs.

License

rand_xorshift is distributed under the terms of both the MIT license and the Apache License (Version 2.0).

See LICENSE-APACHE and LICENSE-MIT, and COPYRIGHT for details.