Re:Show HN: WordPass – password generator giving over 90 bit...
by wyager on Saturday May 24, 2014 @12:54PM
(#7793742)
I'm not familiar with python's non-secure PRNG implementation. Usually it involves the fact that A)these PRNGs have small entropy pools, so you can check the entire state space quickly and B)they have non-uniform outputs, so you can do probabilistic attacks.
[ Parent
| on HN ]
Re:Show HN: WordPass – password generator giving over 90 bit...
by leo_santagada on Saturday May 24, 2014 @01:22PM
(#7793820)
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...