[SNMP4J] HMAC-MD5 vs MD5

Ping Chen feileg at yahoo.com
Mon Oct 30 18:33:46 CET 2006


MD5 is just a hash function to calculate the Message digest.  

Any iterative cryptographic hash function, such as SHA-1 and  MD5, may be used in the calculation of an HMAC.
HMAC-MD5 means using MD5 hash function to calculate the Message digest  WITH A SECRET KEY(normally attach the secret at the end of the message then MD5).  If you use HMAC-MD5 to authenticate, the secret key is the shared key between client and server.

Hopefully this helps

Ping

----- Original Message ----
From: "Marco.Bresciani at alcatel.it" <Marco.Bresciani at alcatel.it>
To: snmp4j at agentpp.org
Sent: Monday, October 30, 2006 12:24:20 AM
Subject: [SNMP4J] HMAC-MD5 vs MD5

Which is the difference between HMAC-MD5 and MD5!?

Thanks,

Ing. Marco Bresciani

-- 
Alcatel - WTD R&D SW CC
Via Trento, 30 - 20059 Vimercate (Mi) Italia
Phone: +39.039.686.5546
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GIT d++ s: a C++ UL++ P+ L+++ E-- W++ N o-- K- w-- O- M- V- PS--
PE-- Y+ PGP++ t+ 5 X+ R+++ tv+ b++ DI++++ D+ G e+++ h! !r !y+ 
------END GEEK CODE BLOCK------
_______________________________________________
SNMP4J mailing list
SNMP4J at agentpp.org
http://lists.agentpp.org/mailman/listinfo/snmp4j









More information about the SNMP4J mailing list