Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Closes #15910: MD5 and SHA1 crash when "updated" with strings bigger than ↵ | Jesus Cea | 2012-09-10 | 1 | -0/+33 |
| | | | | 2**32 bytes | ||||
* | Closes #15908: SHA1 crashes in 64 bits when the string to hash is bigger ↵ | Jesus Cea | 2012-09-10 | 1 | -0/+8 |
| | | | | than 2**32 bytes | ||||
* | Consistently raise a TypeError when a non str is passed to hashlib.new | Gregory P. Smith | 2012-07-22 | 1 | -0/+1 |
| | | | | regardless of which of the two implementations of new is used. | ||||
* | Issue #15219: Fix a reference leak when hashlib.new() is called with | Amaury Forgeot d'Arc | 2012-06-28 | 1 | -6/+2 |
| | | | | invalid parameters. | ||||
* | Fixes Issue #12059: Properly handle missing hash functions even when | Gregory P. Smith | 2011-05-14 | 1 | -0/+18 |
| | | | | | | | the expected builtin modules are not present. This includes a unittest for __get_builtin_constructor() in the face of such an error. | ||||
* | Issue #7449, part 6: fix test_hashlib for missing threading module | Victor Stinner | 2010-04-27 | 1 | -4/+2 |
| | | | | Move @test_support.reap_thread decorator from test_main() to test_threaded_hashing(). | ||||
* | Adds the hashlib.algorithms attribute. See issue7418. | Gregory P. Smith | 2010-03-01 | 1 | -0/+5 |
| | |||||
* | Remove unused imports in test modules. | Georg Brandl | 2010-02-07 | 1 | -1/+0 |
| | |||||
* | Revert debugprint code in r77607. | Gregory P. Smith | 2010-01-19 | 1 | -4/+0 |
| | |||||
* | Add a pydebug mode only debug print to help debug the errors in | Gregory P. Smith | 2010-01-19 | 1 | -0/+4 |
| | | | | | | http://www.python.org/dev/buildbot/all/builders/x86%20gentoo%20trunk/builds/5700/ Will be removed shortly. | ||||
* | add a test about hashing array.array | Benjamin Peterson | 2010-01-05 | 1 | -0/+9 |
| | |||||
* | Import all implementations of the hash algorithms (OpenSSL & builtin) and run | Gregory P. Smith | 2010-01-03 | 1 | -10/+75 |
| | | | | | | | | | the test suite across all that are available. Warns about extension modules that could not be imported when python was compiled with Py_DEBUG. That warning could be made fatal but I didn't want to do that initially as I suspect non setup.py based build processes (windows, any others?) won't compile them all conditionally based on the Py_DEBUG setting today. | ||||
* | Issue #3745: Undo the requirement for new buffer API only objects to be passed | Gregory P. Smith | 2010-01-02 | 1 | -11/+16 |
| | | | | | | to hashlib functions in python 2.x. The module now uses the 's*' for argument parsing which auto encodes unicode objects to the system default encoding for us. | ||||
* | More yearly updates. | Georg Brandl | 2010-01-01 | 1 | -1/+1 |
| | |||||
* | convert usage of fail* to assert* | Benjamin Peterson | 2009-06-30 | 1 | -2/+2 |
| | |||||
* | a useful decorator for cleaning up threads | Benjamin Peterson | 2009-05-14 | 1 | -7/+2 |
| | |||||
* | prevent refleaks from threads | Benjamin Peterson | 2009-05-14 | 1 | -1/+5 |
| | |||||
* | Issue #4751: For hashlib algorithms provided by OpenSSL, the Python | Gregory P. Smith | 2009-05-04 | 1 | -3/+46 |
| | | | | GIL is now released during computation on data lengths >= 2048 bytes. | ||||
* | - Issue #3745: Fix hashlib to always reject unicode and non buffer-api | Gregory P. Smith | 2009-02-13 | 1 | -3/+18 |
| | | | | | | supporting objects as input no matter how it was compiled (built in implementations or external openssl library). (backported from a py3k branch) | ||||
* | fix possible integer overflows in _hashopenssl #3886 | Benjamin Peterson | 2008-09-18 | 1 | -2/+16 |
| | |||||
* | email address update | Gregory P. Smith | 2007-09-09 | 1 | -1/+1 |
| | |||||
* | [ sf.net patch # 1121611 ] | Gregory P. Smith | 2005-08-21 | 1 | -0/+191 |
A new hashlib module to replace the md5 and sha modules. It adds support for additional secure hashes such as SHA-256 and SHA-512. The hashlib module uses OpenSSL for fast platform optimized implementations of algorithms when available. The old md5 and sha modules still exist as wrappers around hashlib to preserve backwards compatibility. |