Generators tool
✦ Browser-firstHMAC Generator
HMAC-SHA256, SHA384, SHA512 and SHA1 signatures from a key and message.
About this tool
Create HMAC signatures from a message and secret key using SHA-256, SHA-384, SHA-512 or SHA-1. Output in hex and Base64, computed in your browser with the Web Crypto API.
How to use the HMAC Generator
- Enter the message and your secret key.
- Choose HMAC-SHA256, SHA384, SHA512 or SHA1.
- Copy the signature as hex or Base64.
Common uses
- Verifying webhook signatures
- Testing API request signing
- Learning message authentication
HMAC Generator questions
What is HMAC?
A keyed hash that proves a message came from someone holding the secret and was not altered.
Is my key sent anywhere?
No. The signature is computed in your browser with the Web Crypto API.
Which algorithm should I choose?
HMAC-SHA256 is the common default. SHA1 is only for legacy systems.