Back to tools
HMAC Generator
Generate HMAC-SHA1, SHA-256 and SHA-512 signatures
About HMAC Generator
HMAC Generator lets you generate hmac-sha1, sha-256 and sha-512 signatures.
Category: Encoding.
Frequently asked questions
What is HMAC?
▾
Hash-based Message Authentication Code. It combines a secret key with a cryptographic hash function (SHA-256, SHA-512) to produce a signature that proves both data integrity and authenticity.
How is HMAC different from a plain hash?
▾
A plain hash (SHA-256) can be recomputed by anyone. HMAC requires the secret key — only parties who know the key can generate or verify the signature, preventing forgery.
Where is HMAC used?
▾
API request signing (AWS Signature, Stripe webhooks), JWT with HS256/HS512, cookie integrity verification, and any scenario where you need to verify that a message came from a trusted source and wasn't modified.