HMAC Generator — SHA-256 & SHA-512
Enter a message and secret key to generate an HMAC signature using Web Crypto API.
—
How to use
- Enter the message to sign.
- Enter your secret key and select hash algorithm.
- Copy the generated HMAC hex digest.
Frequently asked questions
What is HMAC?
Hash-based Message Authentication Code — a signature that verifies both data integrity and authenticity using a shared secret key.
Which algorithm should I use?
SHA-256 is the most common. Use SHA-512 for higher security margins in new systems.
Is my secret key sent to a server?
No. HMAC is computed entirely in your browser using the Web Crypto API.
What encoding is the output?
Lowercase hexadecimal string, which is standard for HMAC digests.
Last updated
Powered by maratool