4 ms·
Python's Mersenne Twister was first seeded with 32 bytes, changed to 2500 bytes here: http://hg.python.org/cpython/rev/7b5265752942 http://hg.python.org/cpytho
by twisted1827 12y ago
Python's Mersenne Twister was first seeded with 32 bytes, changed to 2500 bytes here:
http://hg.python.org/cpython/rev/7b5265752942 http://hg.python.org/cpython/rev/7b5265752942
- TheLoneWolfling 12y ago/dev/urandom on Linux only has an internal state of 1024 bits [1] As Python's Mersenne Twister is seeded with urandom... [1] https://pthree.org/2014/07/21/the-linux-random-number-generator/ https://pthree.org/2014/07/21/the-linux-random-number-genera...