|author||Joel Galenson <email@example.com>||Tue Aug 24 18:48:10 2021 +0000|
|committer||Automerger Merge Worker <firstname.lastname@example.org>||Tue Aug 24 18:48:10 2021 +0000|
Update TEST_MAPPING am: 3f67c22d21 am: 865f09c6ac Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/rand_xorshift/+/1806100 Change-Id: I453fd417b136edfab9862ec4145bd4285c2d11a7
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
Deserialize for the included RNGs.
rand_xorshift is distributed under the terms of both the MIT license and the Apache License (Version 2.0).