summaryrefslogtreecommitdiffstats
path: root/Python/random.c
Commit message (Collapse)AuthorAgeFilesLines
* Closes #15213: update comment for _PyOS_URandomGeorg Brandl2013-10-061-2/+3
|
* Issue #18756: Improve error reporting in os.urandom() when the failure is ↵Antoine Pitrou2013-08-161-2/+6
| | | | due to something else than /dev/urandom not existing.
* Issue #15340: Fix importing the random module when /dev/urandom cannot be ↵Antoine Pitrou2012-09-071-1/+2
| | | | | | opened. This was a regression caused by the hash randomization patch.
* enable hash randomization by defaultBenjamin Peterson2012-02-211-11/+0
|
* ensure no one tries to hash things before the random seed is foundBenjamin Peterson2012-02-211-4/+8
|
* Fix typo in conditional.Georg Brandl2012-02-201-1/+1
|
* Issue #13703: add a way to randomize the hash values of basic types (str, ↵Georg Brandl2012-02-201-0/+302
bytes, datetime) in order to make algorithmic complexity attacks on (e.g.) web apps much more complicated. The environment variable PYTHONHASHSEED and the new command line flag -R control this behavior.