Tool guide
About this tool.
- HMAC combines a shared secret and message with a hash algorithm to produce an authentication code.
- It does not encrypt the message. This tool generates a digest, not incoming-signature verification or HTTP signing conventions.
- Message and key are literal UTF-8, including spaces; hex/Base64 strings are not decoded as byte keys.
- Reproduce an expected keyed digest in a fixture.
- Debug exact message/key bytes used by an integration.
- Generate a comparison value; implement constant-time verification in your application.
Enter the exact message and Secret. Empty messages are allowed; the key must have at least one character.
Choose SHA-256/SHA-512 or legacy SHA-1 and run explicitly.
Copy/download hmac.txt. Summaries/exports do not contain the key.
Sample keys are public demonstration values. Incoming signatures are not verified here.
- hello with Secret secret and SHA-256 → 88aab3ede8d3adf94d26ab90d3bafd4a2083070c3bcce9c014ee04a443847c0b.
- hello with Secret super-secret-key and SHA-256 → eb25f2fffac06aa754e192ad1a06964460758c15efceb48330d6446325b925a3.
- hello with Secret " secret " → bf70e917bc72ef61fa8df16ec5aef45084f6ce2cae7c459918468f359bf3dc6a; the spaces are part of the key.
- Empty message with Secret demo-key → 8a9016cda075fc942ab4ae3b189fcb2011cfdc22916a63c5d2684daca8f1f026; an empty Secret is an error.
- hello with Secret demo-key and SHA-1 → 4146a08d2c2c822ca47f92fe54ba0d2ff0595120, 40 hex characters.
- Secret is a password field excluded from saved drafts.
- Message/key spaces are preserved; no trimming or normalization.
- Only literal UTF-8 keys are supported, not decoded byte keys.
- SHA-1 is for existing integrations; use SHA-256/SHA-512 for new ones.
- Generation is not encryption, constant-time verification or a complete signing protocol.
- Copied/exported HMAC values can still be sensitive in context.