// security
HMAC Generator
Generate Hash-based Message Authentication Codes (HMAC) for message integrity and authentication.
idle
0 bytes
length 0
Enter a message and secret key to generate an 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