✍️ Security

HMAC Generator & Verifier

Generate HMAC-SHA256 and HMAC-SHA512 signatures for webhook validation and API request signing. Verify incoming webhook payloads against their expected signatures. All cryptographic operations run in your browser via the Web Crypto API.

⚑ Webhook Presets
βœ… HMAC-SHA256 Signature
Enter a secret key and message above to generate the signature…
πŸ” Verify Signature

Paste an incoming webhook signature to verify it matches the computed HMAC above.

πŸ”Enter a signature to verify against the computed HMAC
πŸ“– Verification Code Examples
Privacy: HMAC computation uses the browser's native crypto.subtle.sign() API. Your secret key and payload never leave your browser.
πŸ“– How to Use This Tool
β–Ό
1
Select a webhook preset (GitHub, Stripe, Slack)
2
Enter your secret key and the message payload
3
Choose format: hex, base64, or sha256=hex
4
Paste a signature in Verify to check if it matches
πŸ“ Examples
GitHub webhook
Input: Secret + JSON body
Output: sha256=a1b2c3d4...