Commit Graph

13 Commits

Author SHA1 Message Date
Serhiy Storchaka 0f8f784a77 Removed duplicated words in in comments and docs. 2014-12-01 18:16:30 +02:00
Benjamin Peterson 0062d1e7f4 PEP 466: backport hashlib algorithm constants (closes #21307) 2014-08-28 09:41:29 -04:00
Benjamin Peterson 48f2e99808 backport hashlib.pbkdf2_hmac per PEP 466 (closes #21304)
Backport by Alex Gaynor.
2014-05-31 13:26:22 -07:00
Gregory P. Smith b9e9e0d5a8 Consistently raise a TypeError when a non str is passed to hashlib.new
regardless of which of the two implementations of new is used.
2012-07-21 21:22:16 -07:00
Gregory P. Smith fb1d60c800 Fixes Issue #12059: Properly handle missing hash functions even when
the expected builtin modules are not present.

This includes a unittest for __get_builtin_constructor() in the face
of such an error.
2011-05-14 15:07:53 -07:00
Gregory P. Smith e6390a1503 Adds the hashlib.algorithms attribute. See issue7418. 2010-03-01 02:01:47 +00:00
Gregory P. Smith 99954c9c45 Clean up the C library import code (based on suggestions in issue6281). 2009-08-16 21:54:45 +00:00
Gregory P. Smith f07e5a9e4b issue3715: docstring representation of hex escaped string needs to be double
escaped.
2008-08-31 16:34:18 +00:00
Gregory P. Smith bde40078b0 Mention that crc32 and adler32 are available in a different module (zlib).
Some people look for them in hashlib.
2008-03-19 01:38:35 +00:00
Gregory P. Smith f80578548d email address update 2007-09-09 20:25:00 +00:00
Georg Brandl 7a4e804469 Bug #1586773: extend hashlib docstring. 2006-10-29 18:01:08 +00:00
Tim Peters 9e34c04732 Whitespace normalization (via reindent.py). 2005-08-26 15:20:46 +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