HMAC Generator
Free online HMAC generator supporting MD5, SHA1, SHA256 and SHA512 with a secret key. Hex or Base64 output. Runs entirely in your browser.
How to use
What it does
HMAC (Keyed-Hash Message Authentication Code) hashes a message together with a secret key, so it both verifies integrity and proves who sent the data. This tool supports MD5, SHA1, SHA256 and SHA512, lets you switch between hex and Base64 output, and computes everything locally in your browser.
Example
Set the key to devutils-secret, type Hello, HMAC! and pick SHA256:
64a3d10cf99ea5392c2a1feaae08e307d0c4ab1695522f6d98d9a7e5eec6c229Switching to Base64 output gives the value starting with ZKPc/b. Enable "Uppercase" for an all-caps digest.
Tips
Both sides must share the same secret key to verify a MAC. Distribute the key over a secure channel and never send it alongside the digest. The verifier recomputes the HMAC with the same key and algorithm and compares.