HMAC Calculator

Hash-based Message Authentication Code (HMAC) is a specific type of message authentication code involving a cryptographic hash function and a secret key.

Message Content

Enter message text to calculate HMAC

Secret Key

tools.hmac-calculator.keyDescription

Algorithm Settings

Select HMAC algorithm and output format

File Input

Select file to calculate HMAC value

Drag file here or click to select

Calculation Result

HMAC-SHA256 (256-bit) - Recommended HMAC algorithm

No HMAC result yet

HMAC Information

SHA256

HMAC based on SHA-256, currently the most recommended choice

Output Length
256 bits (64 hex)
Recommended Key Length
≥ 256 bits

tools.hmac-calculator.usageInstructions

  • Enter message and key, system automatically calculates HMAC value
  • Supports multiple key formats: plain text, hexadecimal, Base64
  • Supports HMAC-SHA1, HMAC-SHA256, HMAC-SHA384, HMAC-SHA512
  • Can verify HMAC value correctness to ensure data integrity

Calculation History

Recent HMAC calculations

No calculation history