Looking for relevant Security Whitepapers? Visit the SearchSecurity.com Research Library.
Labnuke99 | Feb 14 2008 8:17PM GMT
Both are message authentication hash algorithms. This means that they are one-way and you cannot derive the original message from the hash produced by the algorithm.
SHA1 - The US Secure Hash Algorithm takes a message of less than 264 bits in length and produces a 160-bit message digest designed so that it is computationally very expensive to find a text string that matches a given hash.
MD5 - Message Digest 5 is a standard algorithm that takes as input a message of arbitrary length and produces as output a 128-bit fingerprint or message digest of the input. Any modifications made to the message in transit can then be detected by recalculating the digest. Similar in concept to a CRC, the MD5 algorithm is used as part of the SNMPv3 security subsystem
Please also see:
<a href="http://en.wikipedia.org/wiki/HMAC-SHA1" rel="nofollow">http://en.wikipedia.org/wiki/HMAC-SHA1</a>