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...
No comments yet.