History log of /external/python/cpython2/Lib/hmac.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
629026aecc6bbb7cf8df25f7699eaf97d8e45701 12-May-2014 Benjamin Peterson <benjamin@python.org> backport hmac.compare_digest to partially implement PEP 466 (closes #21306)

Backport from Alex Gaynor.
/external/python/cpython2/Lib/hmac.py
4348a25665b2f09f76a605bab507b4edacc4dd24 19-Aug-2008 Benjamin Peterson <benjamin@python.org> silence callable warning in hmac
/external/python/cpython2/Lib/hmac.py
e1ac4f19301aa0a4d28fc25b91c71c477c37cb21 06-Nov-2007 Gregory P. Smith <greg@mad-scientist.com> Fixes Issue 1385: The hmac module now computes the correct hmac when using
hashes with a block size other than 64 bytes (such as sha384 and sha512).
/external/python/cpython2/Lib/hmac.py
71662323992907f1da51ea61a6f29b09e571c089 27-Dec-2006 Andrew M. Kuchling <amk@amk.ca> [Rest of patch #1182394] Add ._current() method so that we can use the written-in-C .hexdigest() method
/external/python/cpython2/Lib/hmac.py
a7ebb33975ab31fb794774010e9bd52685314517 27-Dec-2006 Andrew M. Kuchling <amk@amk.ca> [Part of patch #1182394] Move the HMAC blocksize to be a class-level
constant; this allows changing it in a subclass. To accommodate this,
copy() now uses __class__. Also add some text to a comment.
/external/python/cpython2/Lib/hmac.py
8fe2d2015dc57e4e048f733c7fbb5c0712b05d15 19-Dec-2006 Andrew M. Kuchling <amk@amk.ca> [Patch #1618455 by Ben Maurer] Improve speed of HMAC by using str.translate()
instead of a more general XOR that has to construct a list.

Slightly modified from Maurer's patch: the _strxor() function is no longer
necessary at all.
/external/python/cpython2/Lib/hmac.py
f21a5f773964d34c7b6deb7e3d753fae2b9c70e2 21-Aug-2005 Gregory P. Smith <greg@mad-scientist.com> [ 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.
/external/python/cpython2/Lib/hmac.py
934d31b1d340f1d309d6ec6a861fa94077033b0f 20-Mar-2004 Tim Peters <tim.peters@gmail.com> Speed HMAC.copy() by installing a secret backdoor argument to
HMAC.__init__(). Adapted from SF patch 895445 "hmac.HMAC.copy() speedup"
by Trevor Perrin, who reported that this approach increased throughput
of his hmac-intensive app by 30%.
/external/python/cpython2/Lib/hmac.py
65230a2de758fbde57b3893c402436ae0202ada3 03-Jun-2002 Walter Dörwald <walter@livinglogic.de> Remove uses of the string and types modules:

x in string.whitespace => x.isspace()
type(x) in types.StringTypes => isinstance(x, basestring)
isinstance(x, types.StringTypes) => isinstance(x, basestring)
type(x) is types.StringType => isinstance(x, str)
type(x) == types.StringType => isinstance(x, str)
string.split(x, ...) => x.split(...)
string.join(x, y) => y.join(x)
string.zfill(x, ...) => x.zfill(...)
string.count(x, ...) => x.count(...)
hasattr(types, "UnicodeType") => try: unicode except NameError:
type(x) != types.TupleTuple => not isinstance(x, tuple)
isinstance(x, types.TupleType) => isinstance(x, tuple)
type(x) is types.IntType => isinstance(x, int)

Do not mention the string module in the rlcompleter docstring.

This partially applies SF patch http://www.python.org/sf/562373
(with basestring instead of string). (It excludes the changes to
unittest.py and does not change the os.stat stuff.)
/external/python/cpython2/Lib/hmac.py
094662a16542d1cc56713b35dde39089490dec35 01-Jun-2002 Raymond Hettinger <python@rcn.com> Replace boolean test with is None
/external/python/cpython2/Lib/hmac.py
7fdfc2d231e4d41a5bb6dd737200d3460aa39773 31-May-2002 Raymond Hettinger <python@rcn.com> Replace '== None' with 'is None'
/external/python/cpython2/Lib/hmac.py
88768483235beb5de12addee3d73d4e252f6f7cb 13-Nov-2001 Tim Peters <tim.peters@gmail.com> Whitespace normalization.
/external/python/cpython2/Lib/hmac.py
1ccdff90bb1beb27ff9592fe7d02f80d32b78373 02-Nov-2001 Andrew M. Kuchling <amk@amk.ca> [Patch #477336] Make hmac.py match PEP247, and fix the copy method() so that
it works
/external/python/cpython2/Lib/hmac.py
b64bec3ec078d66a34175b9dec55eaac5c821b46 18-Sep-2001 Tim Peters <tim.peters@gmail.com> Whitespace normalization.
/external/python/cpython2/Lib/hmac.py
8ceef4141c55cd112cfa3ae4538286451d49f6d8 11-Sep-2001 Guido van Rossum <guido@python.org> HMAC algorithm as described by RFC 2104, by Gerhard Häring (SF patch
#460112).
/external/python/cpython2/Lib/hmac.py