HMAC hash
HMAC hash: process standard inputs with validation using self-contained pure logic, suitable for local checks and test vectors.
Runs in your browserEvery computation happens in your browser — your data never leaves this device.
Input
Result
Pure local computation; no data is uploaded.
Enter input to see the result
Output length: 0 · Input bytes: 0
What this tool does
- Compute HMAC-SHA256 over the text with the key from the "key" box, as 64 lowercase hex characters.
- The key defaults to key, and an empty key is allowed (the standard zero-padding rules apply).
- An empty message is rejected; keys may be any length, and one longer than 64 bytes is hashed down to 64 bytes first.
Example
Input
Hello, world!
Output
7579f2ef9632fa31ab440ab7fab06ce4511e7df233773c88302818b3b184595b
The example computes HMAC-SHA256 with the default key and matches the published test vector.
Frequently asked questions
Is input uploaded?
No. The algorithm runs locally in a self-contained pure function.
How should I verify a result?
Use a published standard test vector and check the input encoding and output radix.
Why is empty input rejected?
Cryptographic tools need an explicit message boundary; empty text usually means no value was entered.
Keywords:HMAC hashcryptographystandard vectorlocalhash