[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: MD5 vs. SHA-1, Performance & Pedigree
> > Digest Performance in MegaBytes per Second
> >
> > Pentium P5 Power Mac SPARC 4 DEC Alpha
> > 90 MHz 80 MHz 110 MHz 200 MHz
> >
> > MD5 13.1 3.1 5.1 8.5
> >
> > SHA1 2.5 1.2 2.0 3.3
> Performance in Megabytes per Second on a 90 MHz Pentium
>
> MD4 MD5 SHA-1 RIPEMD RIPEMD-128 RIPEMD-160
>
> 20.9 14.2 6.1 10.3 8.0 5.0
A problem is that a lot of computation time of a generic
hash functions on byte streams is comsumed for adjusting word
alignment, which can be avoided on hosts and routers by adjusting
alignment of packet buffers.
Considering Amdahl's law, the actual performance difference
between MD5 and SHA-1 is unnegligibly large.
Note that Pentium derived from 8080, is good at handling byte
streams and DEC Alpha can access memory only word-by-word.
Masataka Ohta
References: