<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/hmac.py, branch 2.7</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/hmac.py?h=2.7</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/hmac.py?h=2.7'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2014-05-11T23:11:44Z</updated>
<entry>
<title>backport hmac.compare_digest to partially implement PEP 466 (closes #21306)</title>
<updated>2014-05-11T23:11:44Z</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2014-05-11T23:11:44Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=629026aecc6bbb7cf8df25f7699eaf97d8e45701'/>
<id>urn:sha1:629026aecc6bbb7cf8df25f7699eaf97d8e45701</id>
<content type='text'>
Backport from Alex Gaynor.
</content>
</entry>
<entry>
<title>silence callable warning in hmac</title>
<updated>2008-08-19T19:07:38Z</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2008-08-19T19:07:38Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4348a25665b2f09f76a605bab507b4edacc4dd24'/>
<id>urn:sha1:4348a25665b2f09f76a605bab507b4edacc4dd24</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixes Issue 1385: The hmac module now computes the correct hmac when using</title>
<updated>2007-11-06T00:19:03Z</updated>
<author>
<name>Gregory P. Smith</name>
<email>greg@mad-scientist.com</email>
</author>
<published>2007-11-06T00:19:03Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e1ac4f19301aa0a4d28fc25b91c71c477c37cb21'/>
<id>urn:sha1:e1ac4f19301aa0a4d28fc25b91c71c477c37cb21</id>
<content type='text'>
hashes with a block size other than 64 bytes (such as sha384 and sha512).
</content>
</entry>
<entry>
<title>[Rest of patch #1182394] Add ._current() method so that we can use the written-in-C .hexdigest() method</title>
<updated>2006-12-27T03:31:24Z</updated>
<author>
<name>Andrew M. Kuchling</name>
<email>amk@amk.ca</email>
</author>
<published>2006-12-27T03:31:24Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=71662323992907f1da51ea61a6f29b09e571c089'/>
<id>urn:sha1:71662323992907f1da51ea61a6f29b09e571c089</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[Part of patch #1182394] Move the HMAC blocksize to be a class-level</title>
<updated>2006-12-27T03:25:31Z</updated>
<author>
<name>Andrew M. Kuchling</name>
<email>amk@amk.ca</email>
</author>
<published>2006-12-27T03:25:31Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a7ebb33975ab31fb794774010e9bd52685314517'/>
<id>urn:sha1:a7ebb33975ab31fb794774010e9bd52685314517</id>
<content type='text'>
constant; this allows changing it in a subclass.  To accommodate this,
copy() now uses __class__.  Also add some text to a comment.
</content>
</entry>
<entry>
<title>[Patch #1618455 by Ben Maurer] Improve speed of HMAC by using str.translate()</title>
<updated>2006-12-19T14:13:05Z</updated>
<author>
<name>Andrew M. Kuchling</name>
<email>amk@amk.ca</email>
</author>
<published>2006-12-19T14:13:05Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8fe2d2015dc57e4e048f733c7fbb5c0712b05d15'/>
<id>urn:sha1:8fe2d2015dc57e4e048f733c7fbb5c0712b05d15</id>
<content type='text'>
   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.
</content>
</entry>
<entry>
<title>[ sf.net patch # 1121611 ]</title>
<updated>2005-08-21T18:45:59Z</updated>
<author>
<name>Gregory P. Smith</name>
<email>greg@mad-scientist.com</email>
</author>
<published>2005-08-21T18:45:59Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f21a5f773964d34c7b6deb7e3d753fae2b9c70e2'/>
<id>urn:sha1:f21a5f773964d34c7b6deb7e3d753fae2b9c70e2</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>Speed HMAC.copy() by installing a secret backdoor argument to</title>
<updated>2004-03-20T20:11:29Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2004-03-20T20:11:29Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=934d31b1d340f1d309d6ec6a861fa94077033b0f'/>
<id>urn:sha1:934d31b1d340f1d309d6ec6a861fa94077033b0f</id>
<content type='text'>
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%.
</content>
</entry>
<entry>
<title>Remove uses of the string and types modules:</title>
<updated>2002-06-03T15:58:32Z</updated>
<author>
<name>Walter Dörwald</name>
<email>walter@livinglogic.de</email>
</author>
<published>2002-06-03T15:58:32Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=65230a2de758fbde57b3893c402436ae0202ada3'/>
<id>urn:sha1:65230a2de758fbde57b3893c402436ae0202ada3</id>
<content type='text'>
x in string.whitespace =&gt; x.isspace()
type(x) in types.StringTypes =&gt; isinstance(x, basestring)
isinstance(x, types.StringTypes) =&gt; isinstance(x, basestring)
type(x) is types.StringType =&gt; isinstance(x, str)
type(x) == types.StringType =&gt; isinstance(x, str)
string.split(x, ...) =&gt; x.split(...)
string.join(x, y) =&gt; y.join(x)
string.zfill(x, ...) =&gt; x.zfill(...)
string.count(x, ...) =&gt; x.count(...)
hasattr(types, "UnicodeType") =&gt; try: unicode except NameError:
type(x) != types.TupleTuple =&gt; not isinstance(x, tuple)
isinstance(x, types.TupleType) =&gt; isinstance(x, tuple)
type(x) is types.IntType =&gt; 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.)
</content>
</entry>
<entry>
<title>Replace boolean test with is None</title>
<updated>2002-06-01T01:29:16Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2002-06-01T01:29:16Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=094662a16542d1cc56713b35dde39089490dec35'/>
<id>urn:sha1:094662a16542d1cc56713b35dde39089490dec35</id>
<content type='text'>
</content>
</entry>
</feed>
