[PYTHON-CRYPTO] high-performance HMAC module

Paul Lambert PaulLambert at WOODSIDENET.COM
Wed May 29 21:42:08 CEST 2002

> would be worth writing an HMAC module in C.

No, not for this purpose.  It would be better to move to a real encryption algorithm (like AES) written in C than to use p2.


> -----Original Message-----
> From: Jason R. Mastaler [mailto:jason-list-python-crypto at MASTALER.COM]
> Sent: Tuesday, May 28, 2002 3:10 PM
> Subject: high-performance HMAC module
> I'm currently using a pure Python HMAC implementation in one of my
> applications based on the one in Paul Rubin's p2.py[1].
> This application does lots of HMAC manipulation, and I wonder if it
> would be worth writing an HMAC module in C.  On the other hand, I
> wonder how much this would really speed things up since the underlying
> hash function modules (sha, md5) are already written in C.
> Any ideas?
> Footnotes:
> 1.  http://www.nightsong.com/phr/crypto/p2.py
> --
> (http://tmda.sourceforge.net/)

More information about the python-crypto mailing list