[PYTHON-CRYPTO] high-performance HMAC module

Bryan Mongeau bryan at EEVOLVED.COM
Thu May 30 02:03:50 CEST 2002

On Wednesday 29 May 2002 07:10 pm, Jason R. Mastaler wrote:
> Bram Cohen <bram at GAWTH.COM> writes:
> > By the way, the sha1 included in Python is very slow - around 2
> > megs/sec.
> I didn't know this.  Any reason then why someone (you?) haven't
> contributed a faster implementation for the Python standard lib?

As a reference point, my SHA 256 implementation hits 12 MB/s and SHA 384/512
hits 6 MB/s on my 800 Mhz.  Strange that the standard lib SHA 160 scores so
low. Should be straight-forward to code properly.
Bryan Mongeau
eEvolved Inc. - IT Consulting & Custom Software
"C keeps your hands tied. PERL gives you enough rope to hang yourself." --

More information about the python-crypto mailing list