In
cryptography, a keyed-Hash Message Authentication Code, or HMAC, is a type of
message authentication code (MAC) calculated using a
cryptographic hash function in combination with a secret
key. As with any MAC, it may be used to simultaneously verify both the
data integrity and the authenticity of a
message. Any iterative cryptographic hash function, such as
MD5 or
SHA-1, may be used in the calculation of an HMAC; the resulting MAC algorithm is termed HMAC-MD5 or HMAC-SHA-1 accordingly. The cryptographic strength of the HMAC depends upon the cryptographic strength of the underlying hash function, on the size and quality of the key and the size of the hash output length in bits.
See more at Wikipedia.org...