Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
New rand algorithm: Xoroshiro928** also for crypto #1857
This pull request implements a new algorithm for the
This adds a fast and really long period PRNG with good statistical quality to the
The base algorithm is Xoroshiro928 which is a PRNG with a period of 2^928 - 1. It is derived from Xoroshiro1024 that has 16 words of 64 bit as internal state and instead uses 58 bit words for speed reasons in the Erlang VM. It has a jump function corresponding to 2^512 invocations enabling 2^416 different sequences with the jump length for massively parallel applications.