|author||android-build-team Robot <email@example.com>||Thu Feb 18 02:05:32 2021 +0000|
|committer||android-build-team Robot <firstname.lastname@example.org>||Thu Feb 18 02:05:32 2021 +0000|
Snap for 7152399 from 9e8f2fabf21a74757dd5bcabe42e7a7300e28196 to sc-release Change-Id: Iab2732f9e8d84ed7ce098e3f7db279fd1937637c
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).