HMAC Generator

Compute an HMAC for text using a key and SHA-256, SHA-384 or SHA-512.

Input

Processed on your device

How to use HMAC Generator

Generate a keyed message authentication code for a text input. Use it to compare output from an application you control against a known message and shared test key.

  1. Paste the exact message, choose the digest algorithm and enter the text key.
  2. Generate and compare the result’s hexadecimal representation with your local reference.

Example use

Check a signed-message test fixture using dummy data while troubleshooting encoding differences between two implementations.

Output and compatibility

Both fields are interpreted as UTF-8 text. A hex-encoded key pasted as text represents its characters, not decoded hex bytes. This operation computes a tag and does not encrypt the message.

Troubleshooting

If results differ, check the algorithm, key representation and exact newlines or spaces in the message. Make sure the other system compares hex with hex.

Use Text Hash Generator for an unkeyed digest.

Frequently asked questions

Can I choose SHA-384?

Yes, alongside SHA-256 and SHA-512.

Does it encrypt the message?

It produces a keyed authentication tag and leaves the message readable.

Find a tool