1 2
Algorithms from <https://stackoverflow.com/questions/521295/seeding-the-random-number-generator-in-javascript>