Skip to main content
>_devtools

HMAC Generator & Verifier

Generate and verify HMAC-SHA-1, SHA-256, SHA-384, SHA-512 and SHA-3 with a text, hex or Base64 key, using a constant-time comparison.

What it does

Create or verify a keyed message authentication code with HMAC and a selected hash algorithm. Enter the message and key, then compare the result with an expected value.

Example

Message: The quick brown fox jumps over the lazy dog
Key: key
HMAC-SHA256: f7bc83f430538424b13298e6aa6fb143ef4d59a14946175997479dbc2d1a3cd8

Limits

  • Keep real keys private and use a separate key for each purpose.
  • Comparison is performed locally.