HMAC

Compute a keyed hash. The message and key stay in this tab.

Added 2026-10-24

What it does

HMAC computes keyed digests of one message in this tab. The list includes MD5, SHA-1, SHA-2, Keccak-512, and RIPEMD-160, and every variant is calculated together. The key is not printed in the result. A hash of the message alone is not an HMAC: without the key, someone who can see the message can forge the digest. MD5 and SHA-1 HMACs still appear in old protocols. New work should use HMAC-SHA256 or HMAC-SHA512. Keccak-512 here is the original Keccak padding, not NIST SHA-3. The message and the key stay on this page and are not uploaded.

How to use it

  1. Paste the message and the key.
  2. Every HMAC in the list is computed together.
  3. The key is not written into the result.

Common mistakes

  • A hash without the key is not an HMAC. The key is what makes the digest unforgeable by someone who only sees the message.
  • MD5 and SHA-1 HMACs are legacy. They still appear in old protocols. New work should use HMAC-SHA256 or HMAC-SHA512.

The message and key are not uploaded.

Related guides

  • A hash is not encryption

    MD5 and SHA recompute the same digest from the same text. MD5 has collisions, and Keccak here is not NIST SHA-3.

Related tools