Tested tool guide
Tested browser tools
Checked August 16, 2026
What HMAC Generator does, with a checked example
The HMAC Generator turns a message, a secret key, and the chosen SHA-256, SHA-512, or SHA-1 option into a keyed authentication tag, often called an HMAC signature. It is useful for reproducing request signatures, webhook tags, and protocol test values. The usual mismatch is not the formula but the bytes: a trailing newline, altered JSON spacing, different text encoding, or treating a hexadecimal key as literal characters changes the tag. HMAC detects changes for parties sharing the key; it does not encrypt or conceal the message.
Worked example
A concrete input and expected output from the current implementation.
Input
Algorithm: SHA-256
Secret key: key
Message: The quick brown fox jumps over the lazy dog
->
Expected output
f7bc83f430538424b13298e6aa6fb143ef4d59a14946175997479dbc2d1a3cd8
With the key and message interpreted as UTF-8 text and no trailing newline, HMAC-SHA-256 produces 32 tag bytes. Rendering those bytes as lowercase hexadecimal gives the 64-character value shown.