HMAC Calculator
Calculate Keyed-Hash Message Authentication Code (HMAC) using SHA-256 or SHA-1 — hex key & data input
Enter your secret key as hex bytes (e.g. 4a656665 for "Jefe"). Spaces are allowed.
Enter hex data to authenticate (e.g. 4869205468657265 for "Hi There"). Spaces are allowed.
Related Tools
What is the HMAC Calculator?
The HMAC Calculator computes Keyed-Hash Message Authentication Codes using SHA-256 or SHA-1 algorithms. HMAC provides both data integrity verification and message authentication using a shared secret key.
- Select the hash algorithm (SHA-256 or SHA-1).
- Enter your hexadecimal key.
- Enter your hexadecimal data.
- Click Calculate to compute the HMAC.
What is HMAC?
HMAC (Hash-based Message Authentication Code) combines a cryptographic hash function with a secret key to produce a message authentication code. It verifies both data integrity and authenticity.