• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3622
  • Last Modified:

MD5 VS SH1

what is the difference between MD5 and SHA1 hashing algorithms in terms of pros and cons?
which algorithm is preferable to use in IBM websphere appliaction server 6.0. on solaris platform.
0
RadhaRM
Asked:
RadhaRM
3 Solutions
 
RadhaRMAuthor Commented:
-
0
 
CEHJCommented:
As a rough rule of thumb, SHA1 is somewhat more secure, but slower
0
 
hoomanvCommented:
0
 
Mayank SAssociate Director - Product EngineeringCommented:
Quite a common question - this has been asked on EE before:

http://www.experts-exchange.com/Security/Q_21393626.html

The main difference is that the encryption key-size in MD5 is 128-bits but in SHA-1, it is 160-bits, which is why SHA-1 is harder to break, and slower.

Some discussion on it here as well:

http://www.redhat.com/archives/pam-list/1997-June/msg00014.html

http://www.sandelman.ottawa.on.ca/ipsec/1996/05/msg00116.html

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/cryptosimplified.asp (M$ site but explains cryptography and how to select)
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now