Professional HMAC Generator
Generate HMAC (Hash-based Message Authentication Code) using SHA-256, SHA-384, and SHA-512 algorithms. Used for API request signing and data integrity verification.
Generator Features
- Support for HMAC-SHA256, HMAC-SHA384, HMAC-SHA512
- Output in Hex and Base64 formats
- Random secret key generation
- Instant calculation on input
- Secure browser-based operation (Web Crypto API)
How HMAC Works
HMAC combines a hash function with a secret key to create a unique signature. Only parties knowing the secret key can create or verify the HMAC.
HMAC(K, m) = H((K' ⊕ opad) || H((K' ⊕ ipad) || m))
- K - secret key
- m - message
- H - cryptographic hash function (SHA-256, SHA-512)
- K' - key padded to block size
- opad - outer padding (0x5c repeated)
- ipad - inner padding (0x36 repeated)
- ⊕ - XOR operation
- || - concatenation