Hacker News new | ask | show | jobs
by leo_santagada 4404 days ago
python and ruby use a mersene twister prng: http://en.wikipedia.org/wiki/Mersenne_twister it is a good prng... but it is not crypto secure. as an easy patch just use urandom: http://cryptography.readthedocs.org/en/latest/random-numbers...