KiloAtlas
EN
EnglishBahasa IndonesiaTiếng Việt

HMAC generator

Choose a SHA hash and enter a key and message. All calculations run on your device; your key and message are never sent to a server.

HMAC (hex)

—

Your result is calculated in your browser.

Formula

HMAC(K,m) = H((K′ XOR opad) || H((K′ XOR ipad) || m))

How to use

  1. Choose the hash and input formats.
  2. Enter the key and message; hex uses byte pairs.
  3. Copy the full lowercase hexadecimal HMAC.

Examples

  • RFC 4231 case 2: key Jefe and message what do ya want for nothing? use UTF-8.

Frequently asked questions

Is HMAC encryption or password hashing?

HMAC authenticates a message with a shared key. It does not encrypt the message or provide a slow password-storage scheme.

What bytes are processed?

Text uses UTF-8 without normalization. Hex requires even-length byte pairs, without spaces or 0x. Empty messages and keys are accepted.

Does the key leave my device?

No. WebCrypto runs in your browser over HTTPS. Inputs are not sent, stored or added to the URL. SHA-1 is included for legacy compatibility.

Sources

Updated:

Related tools

Search conversion tools