encryption
Verify an HMAC authentication code without exposing the secret key to the server.
Sep 13, 2026
View toolGenerate an HMAC authentication code for text or a file using a hexadecimal secret key.
Runs in your browser — your input is processed on this device and never uploaded.
Results appear here.
An HMAC is a message authentication code: a tag from your data and a secret key that proves both who produced the message and that it has not changed. Anyone can hash data. Only a holder of the key can produce a valid HMAC over it.
The result is the tag in hexadecimal, plus the algorithm used.
The obvious construction is broken. Hashing a secret followed by a message and publishing the result lets an attacker append data and compute a valid tag for the longer message without ever knowing the key, using the length-extension property of SHA-256 and SHA-512.
HMAC nests two hash operations with the key mixed in differently each time. That closes the hole for any underlying hash, which is why the standard construction is worth using rather than inventing your own.
HMAC Verifier is the other half of this pair, for checking a tag rather than producing one.
If you need confidentiality as well as authenticity, an HMAC alone is the wrong shape. An AEAD such as AES-GCM or ChaCha20-Poly1305 does both in one operation and is harder to combine incorrectly. If you need to prove authorship to someone who does not share your key, no MAC can do that, because verification requires the same secret.
Verification needs the key, the message, and the algorithm to match exactly. Changing any of the three produces a completely different tag, and a mismatch tells you nothing about which one was wrong.
Keep the key secret. An HMAC authenticates data without concealing it, so the message travels in the clear and anyone can read it. What they cannot do is alter it undetected.
Explore tools with similar capabilities.
encryption
Verify an HMAC authentication code without exposing the secret key to the server.
Sep 13, 2026
View toolencryption
Generate Keccak-224, Keccak-256, Keccak-384 or Keccak-512 hashes from text or uploaded files. It runs in your browser, so nothing leaves the device.
Aug 1, 2026
View toolencryption
Create a salted Argon2id password hash using memory-hard, interoperable defaults.
Sep 13, 2026
View toolencryption
Verify a password against an Argon2 PHC hash using the parameters embedded in the hash.
Sep 13, 2026
View toolencryption
Generate SHA-512/224, SHA-512/256 or full SHA-512 digests from text or uploaded files. Everything runs inside your browser, on your own device.
Aug 1, 2026
View toolencryption
Generate SHA3-224, SHA3-256, SHA3-384 or SHA3-512 digests from text or uploaded files. Everything runs inside your own browser, on your device.
Aug 1, 2026
View toolFind similar tools by category or tag.