HMAC Generator
Generate HMAC values with SHA-1, 256, 384, or 512.
What is this tool?
HMAC Generator creates keyed-hash message authentication codes from text and a secret key. It supports HMAC algorithms based on SHA-1, SHA-256, SHA-384, and SHA-512.
How does it work?
Enter the message and secret key, choose the HMAC algorithm, and generate the authentication code using the browser's cryptographic APIs. The operation can be performed locally.
Key features
- Generate HMAC-SHA1 values
- Generate HMAC-SHA256 values
- Generate HMAC-SHA384 values
- Generate HMAC-SHA512 values
- Enter a custom secret key
- Hexadecimal or supported encoded output
- Copy HMAC results easily
- Process data locally in the browser
How to use
- Enter the message or data.
- Enter the secret key.
- Choose the HMAC algorithm.
- Click "Generate HMAC".
- Copy the resulting authentication code.
FAQ
What is HMAC?
HMAC stands for Hash-based Message Authentication Code. It combines a cryptographic hash function with a secret key to authenticate data.
Which algorithms are supported?
The tool supports HMAC using SHA-1, SHA-256, SHA-384, and SHA-512.
Is HMAC encryption?
No. HMAC provides authentication and integrity rather than confidentiality. It does not hide the original message.
Should I enter production secrets into an online tool?
For sensitive production credentials or secrets, use your application's trusted cryptographic implementation rather than exposing the secret to a third-party service.
