← All tools

HMAC-SHA-256

Calculate an HMAC-SHA-256 tag for a test message with a local secret key.

Input

Input stays in this browser. Nothing is uploaded or stored.

Result

Run the tool to see its result here.

How to use this tool

Enter message and secret separately; compare the hex tag with your protocol's documented encoding.

When not to use it

HMAC authenticates data but does not encrypt it. Do not paste production secrets into web pages.