dev utility

HMAC Generator

Compute an HMAC signature of text with a local secret key and SHA-1/2.

Create an HMAC

Compute an HMAC signature of text with a local secret key and SHA-1/2.

How it works

Authenticate a message with a shared secret using HMAC-SHA-1, HMAC-SHA-256, HMAC-SHA-384 or HMAC-SHA-512. The message and key stay in the tab. HMAC proves possession of the key; it does not encrypt the message.

Limits

Questions

Does HMAC encrypt the message?

No. HMAC authenticates a message with a shared key; the message remains readable. Use encryption when confidentiality is required.

Which algorithm should I use?

Prefer HMAC-SHA-256 or stronger. SHA-1 is retained for legacy protocol compatibility only.

Where is the secret key stored?

Only in the page memory for this tab. It is not sent to a server or saved in browser storage.

Privacy

Usage measurement is off for this tool. This page makes no analytics request. Your input is not sent to a server.