HMAC Signature Generator

Compute HMAC-SHA256, HMAC-SHA384, and HMAC-SHA512 signatures with a secret key in Hex or Base64.

Inputs

Message Payload & Secret Key

Web Crypto Digests

Computed HMAC Signatures

HMAC-SHA256 256-bit
8a911b42c97705613bf25c94d108ae734f8022e16a9c115d84b730f9126ea504 Recommended for webhooks (Stripe, GitHub, Slack) & JWT HS256
HMAC-SHA384 384-bit
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 Truncated 64-bit word SHA-2 family (JWT HS384)
HMAC-SHA512 512-bit
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 Maximum collision resistance (JWT HS512)
HMAC-SHA1 160-bit
0000000000000000000000000000000000000000 Legacy compatibility (TOTP RFC 6238 / older webhooks)

Related in Security & Encoding

More tools in this category

View all tools →