HMAC Generator
Generate and verify HMAC (Hash-based Message Authentication Code) signatures using various algorithms.
Configuration
About HMAC
What is HMAC?
HMAC (Hash-based Message Authentication Code) is a specific type of message authentication code involving a cryptographic hash function and a secret key. It can verify both data integrity and authentication of a message.
Common Use Cases
- API request authentication
- Webhook signature verification
- Data integrity verification
- Session token generation
Algorithm Comparison
| Algorithm | Output Size | Security |
|---|---|---|
| HMAC-MD5 | 128 bits | Weak |
| HMAC-SHA1 | 160 bits | Legacy |
| HMAC-SHA256 | 256 bits | Recommended |
| HMAC-SHA384 | 384 bits | Strong |
| HMAC-SHA512 | 512 bits | Strongest |