HMAC Generator
HMAC Generation Tool
Generate keyed-hash message authentication codes (HMAC) using SHA-1, SHA-256, SHA-384, or SHA-512.
About HMAC
HMAC (Hash-based Message Authentication Code) is a way to verify both the integrity and the authenticity of a message. Unlike a plain hash, an HMAC mixes a secret key into the hashing process, so only someone who knows the key can produce or verify the correct code. If the message is tampered with, or the wrong key is used, the resulting HMAC will not match.
HMAC is widely used in API request signing (such as AWS Signature and webhook verification), JSON Web Tokens, and secure cookies. The underlying hash function can be SHA-1, SHA-256, SHA-384, or SHA-512; SHA-256 and above are recommended for new applications. This tool computes the HMAC entirely in your browser with the Web Crypto API, so neither your message nor your secret key is ever transmitted.