homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients rhettinger
Date 2014年05月10日.20:56:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1399755385.94.0.749648968305.issue21470@psf.upfronthosting.co.za>
In-reply-to
Content
The default seeding for the random module currently used 32 bytes from urandom() to create the initial state of the random number generator. This is far less than the number of possible states 2**19937-1.
Changing the default seed to a larger number will cover the state space. This gives better security and better randomness by not using just a subset of the possible states.
The downside is slightly slower default initialization.
History
Date User Action Args
2014年05月10日 20:56:26rhettingersetrecipients: + rhettinger
2014年05月10日 20:56:25rhettingersetmessageid: <1399755385.94.0.749648968305.issue21470@psf.upfronthosting.co.za>
2014年05月10日 20:56:25rhettingerlinkissue21470 messages
2014年05月10日 20:56:25rhettingercreate

AltStyle によって変換されたページ (->オリジナル) /