HMAC Hashing Tool


navigate arrows

HMAC (Hash-based Message Authentication Code) is a technique used for message authentication, not for encryption. It involves combining a cryptographic hash function (such as SHA-256 or SHA-512) with a secret key to produce a message authentication code.

Here's how HMAC works:

It takes a message (input data) and a secret key as input.

It applies a cryptographic hash function (e.g., SHA-256, SHA-512) to the message, along with the secret key.

The output is a fixed-size hash value, known as the HMAC.

HMAC ensures the integrity and authenticity of a message, allowing the recipient to verify that the message has not been altered and that it indeed originated from the expected sender (who possesses the secret key).

In summary, HMAC is a technique for creating a message authentication code using cryptographic hashing, but it does not involve encryption of the message itself.