LiteConv

/

HMAC Generator

HMAC Generator.

Algorithm
Output

Reproduce a message authentication code

Worked example

Select HMAC-SHA256, enter the sample message The quick brown fox jumps over the lazy dog and the disposable key key. The expected hexadecimal digest is f7bc83f430538424b13298e6aa6fb143ef4d59a14946175997479dbc2d1a3cd8. Match the text encoding and output format when comparing.

What to check

HMAC authenticates a message using a shared secret; it does not encrypt the message. Whitespace, line endings and key bytes all affect the result. Never paste a live signing key into a shared session. Production verification should use a timing-safe comparison and a vetted protocol.