commit | 8fe2d2015dc57e4e048f733c7fbb5c0712b05d15 | [log] [tgz] |
---|---|---|
author | Andrew M. Kuchling <amk@amk.ca> | Tue Dec 19 14:13:05 2006 +0000 |
committer | Andrew M. Kuchling <amk@amk.ca> | Tue Dec 19 14:13:05 2006 +0000 |
tree | ad30da20b8b887301ad86cdf7a58bd354609b3c2 | |
parent | e3a985fe9aaa55088cf3cb03244949c72f8aaed9 [diff] |
[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.