[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Benchmarks of SHA?



Perry <perry@imsi.com> asked:
> Also, does anyone have benchmarks of SHA?

to which Hilarie Orman <ho@cs.arizona.edu> replied:
> Makes DES look zippy.

Um.. excuse me?  It is significantly faster than DES.  One round of SHA
is comparable in complexity to one round of MD5, but there are 80 as
opposed to 64 of them, and the XOR key expansion is used instead
of choosing the inputs in odd patterns.

On a 32-register machine, it should be possible to perform everything
in registers, a significant speedup over DES, which requires large
tables for speed.


SHA is considerably faster than DES.  Even when used as a cipher
(a block size of 20 instead of 64), it is much faster than DES.
44 seconds to process 10,000,000 bytes on a 25 MHz 68030.  (Or is that
16? I forget.)
-- 
	-Colin