Commit Graph

3 Commits

Author SHA1 Message Date
Guido van Rossum 558ca84730 Fix test_hashlib regression caused by my fixing hexdigest() to return
a text string instead of bytes.  (This being hex digits it *should*
be a text string -- that it wasn't before was a misunderstanding on
my part of the C code.)
2007-07-10 20:31:05 +00:00
Guido van Rossum 5ed033b5a2 Change hashlib to return bytes from digest() instead of str8. 2007-07-09 14:29:40 +00:00
Gregory P. Smith f21a5f7739 [ sf.net patch # 1121611 ]
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.
2005-08-21 18:45:59 +00:00