14 points · by haltingproblem · 6y ago · 3 comments
I do remember we hired a post-doc from the Stats department at the nearby University. He insisted that we spend an inordinate amount of time ensuring that the seed to the PRNG was as random as possible. The second thing was using PRNG's that had a long period and other desirable qualities but I think it would be vulnerable to hacking in this manner.
The Mersenne Twister (for some reason still the default in many settings) has an insane period of 2^19937 − 1, but after observing 624 "random" values, you can recover the internal state and predict all the rest.