HMAC Hash Generator — HMAC-SHA256, HMAC-SHA512
Quick Answer: HMAC combines a secret key with a hash function to produce a keyed hash. Enter your message and secret key to generate HMAC-SHA256 or HMAC-SHA512 digests, commonly used for API authentication and webhook signature verification.
FAQ
What is HMAC used for?
HMAC verifies both message integrity and sender authenticity. It is used in API request signing (AWS, Stripe), JWT signatures (HS256), and webhook verification.
Is HMAC-SHA256 the same as SHA-256?
No. SHA-256 hashes a message without a key. HMAC-SHA256 incorporates a secret key, proving the sender knows the key. HMAC is for authentication; SHA-256 alone is for integrity.