tcpx

// security

HMAC Generator

Generate Hash-based Message Authentication Codes (HMAC) for message integrity and authentication.

configuration
quick actions
common use cases
message0 chars
0 bytes
secret key
length 0
hmac-SHA256 (HEX)

Enter a message and secret key to generate an HMAC.

hmac verification
about hmac
What is HMAC?Hash-based MAC — a hash function keyed with a secret
PurposeVerify data integrity and authenticity
Common usesAPI auth, webhooks, JWT signing, session tokens
VerificationUse constant-time comparison to avoid timing attacks
hmac formula
HMAC(K, m) = H((K ⊕ opad) || H((K ⊕ ipad) || m))

K = key, m = message, H = hash function, opad/ipad = padding constants