summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_hashlib.py
Commit message (Collapse)AuthorAgeFilesLines
* Revert debugprint code in r77607.Gregory P. Smith2010-01-191-4/+0
|
* Add a pydebug mode only debug print to help debug the errors inGregory P. Smith2010-01-191-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.arrayBenjamin Peterson2010-01-051-0/+9
|
* Import all implementations of the hash algorithms (OpenSSL & builtin) and runGregory P. Smith2010-01-031-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 passedGregory P. Smith2010-01-021-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 Brandl2010-01-011-1/+1
|
* convert usage of fail* to assert*Benjamin Peterson2009-06-301-2/+2
|
* a useful decorator for cleaning up threadsBenjamin Peterson2009-05-141-7/+2
|
* prevent refleaks from threadsBenjamin Peterson2009-05-141-1/+5
|
* Issue #4751: For hashlib algorithms provided by OpenSSL, the PythonGregory P. Smith2009-05-041-3/+46
| | | | GIL is now released during computation on data lengths >= 2048 bytes.
* - Issue #3745: Fix hashlib to always reject unicode and non buffer-apiGregory P. Smith2009-02-131-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 #3886Benjamin Peterson2008-09-181-2/+16
|
* email address updateGregory P. Smith2007-09-091-1/+1
|
* [ sf.net patch # 1121611 ]Gregory P. Smith2005-08-211-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.