Make Tools
🔏

HMAC Generator

Generate HMAC (Hash-based Message Authentication Code) with MD5, SHA-1, SHA-256, or SHA-512. Input your message and secret key to get the HMAC.

Frequently Asked Questions

What is HMAC?
HMAC (Hash-based Message Authentication Code) uses a cryptographic hash function and a secret key to provide both data integrity and authentication.
Which algorithm should I use?
SHA-256 is the most commonly used and recommended. SHA-512 provides more security margin. Avoid MD5 and SHA-1 for security-critical applications.
Is my key safe?
All processing happens in your browser. The secret key is never transmitted or stored anywhere.

Related Tools

How to Use

  1. 1 Enter the message text in the input field.
  2. 2 Enter your secret key.
  3. 3 Select a hash algorithm: SHA-256 (recommended), SHA-512, SHA-1, or MD5.
  4. 4 Click **Generate** to compute the HMAC and copy the result.