Firewall Wizards mailing list archives

Re: MD5 x SHA-1


From: Kevin Steves <stevesk () pobox com>
Date: Sat, 7 Dec 2002 09:04:34 -0800

On Fri, Dec 06, 2002 at 03:02:31PM -0800, John Adams wrote:
MD5 or SHA-1

SHA is slower, MD5 is faster.

that depends on software, platform, hardware, etc.

just for comparison, following is an HP A180 running HP-UX (hardware
from ~1999) then my ~1.5 year old thinkpad X21 running OpenBSD.

$ openssl speed md5 sha1

OpenSSL 0.9.6g 9 Aug 2002
built on: Mon Aug 26 13:25:18 PDT 2002
options:bn(32,32) md2(char) rc4(idx,char) des(idx,risc1,16,long) idea(int) blowfish(idx) 
compiler: cc +Z -DTHREADS -D_REENTRANT -DDSO_DL +O3 +Optrs_strongly_typed +Olibcalls -Ae +ESlit -DB_ENDIAN -DBN_DIV2W 
-DMD32_XARRAY
The 'numbers' are in 1000s of bytes per second processed.
type              8 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes
md5               1949.84k     8505.75k    16080.73k    20638.38k    22423.22k
sha1              1402.56k     6984.10k    13484.89k    17485.57k    19226.62k

OpenSSL 0.9.7-beta3 30 Jul 2002
built on: date not available
options:bn(64,32) md2(int) rc4(idx,int) des(ptr,risc1,16,long) aes(partial) blowfish(idx) 
compiler: information not available
available timing options: USE_TOD HZ=100 [sysconf value]
timing function used: getrusage
The 'numbers' are in 1000s of bytes per second processed.
type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes
md5               2459.53k     6475.46k    12894.55k    17334.02k    19241.23k
sha1              3030.25k     7472.56k    14444.03k    18855.30k    20680.10k
_______________________________________________
firewall-wizards mailing list
firewall-wizards () honor icsalabs com
http://honor.icsalabs.com/mailman/listinfo/firewall-wizards


Current thread: