HMAC Verifier

Recalculate an HMAC using your UTF-8 secret and compare it to an entered hexadecimal tag entirely in your browser.

Your workspace

On your device

Review the example values, then run the tool.

Recalculate an HMAC using your UTF-8 secret and compare it to an entered hexadecimal tag entirely in your browser.

How to verify an HMAC

  1. Enter the message or data you wish to verify into the Input text area.
  2. Provide your UTF-8 secret key and the expected hexadecimal HMAC tag.
  3. Select the hashing algorithm and observe if the recalculated tag matches your expected input.

Local cryptographic verification

This tool performs all HMAC calculations locally within your browser tab. By providing the secret and the input text, the engine generates a hash that you can compare against your known tag. This process ensures that your secret key and sensitive data are never transmitted over a network or stored on any server.

Interpreting verification results

When the recalculated HMAC matches your expected hexadecimal tag, the verification is successful. If the values differ, it indicates that either the secret key, the input data, or the chosen hashing algorithm does not match the original parameters used to create the tag.

Verification example

Input: "Hello World", Secret: "my-secret-key", Expected: "d41d8cd9..."

The tool displays the generated HMAC; if it matches the expected hexadecimal string, the verification is confirmed.

HMAC verification questions

Does this tool store my secret key or input data?

No. All processing occurs in your browser's memory, and no data is saved or transmitted.

What should I do if the HMAC does not match?

Verify that the input text, secret key, and selected algorithm are identical to those used during the original HMAC generation.

Continue your workflow