News for hackers. Stuff that matters.
Re:Evolution of Random Number Generators by amitp on Sunday May 02, 2021 @11:13AM (#27015966)
Yes, xor can be used as part of this — see the paper[1] and code[2]. The idea is that you're generating a random shuffle of a sequence, but you can do it in a way that doesn't require storing the entire shuffled sequence. You can ask "what's in position 4" and it will return "item 1".

[1]: http://pcgworkshop.com/archive/mawhorter2019anarchy.pdf [2]: https://github.com/solsword/anarchy

There are no comments on this comment yet.