Hashing, HMAC & Signature Calculators
Calculate HMAC signatures, verify webhook payloads from Stripe and GitHub, derive keys with PBKDF2, and build AWS SigV4 authorization headers using the Web Crypto API.
Tools in Signatures
- HMAC
HMAC signature generator
Compute HMAC-SHA1, SHA-256, SHA-384 and SHA-512 signatures, and verify one you were sent.
- HMAC
Webhook signature verifier
Reproduce Stripe, GitHub, Shopify, Slack and Svix signatures, and check one you received.
- HMAC
PBKDF2 key derivation
Derive keys with PBKDF2 at a measured cost, and understand when Argon2id is the better answer.
- HMAC
Hash & checksum calculator
Compute digests with SHA-2, SHA-3, Keccak, SHA-1 and MD5, from text, hex or Base64 input.
- HMAC
Request signature validator
Reproduce a canonical string, compute its HMAC, and compare against the signature you received.
- HMAC
AWS SigV4 header builder
Build a complete Signature Version 4 header, with the canonical request and string to sign shown.
- HMAC
Stripe & GitHub webhook sandbox
Generate a signed event, replay it against your endpoint, and prove your rejection path works.
- HMAC
Key derivation sandbox
Derive independent keys from one master secret, and feel what the cost parameter actually costs.
- HMAC
Hash & secret comparator
Compare two values or their digests in constant time, and find where they diverge.
Signatures and hashes, computed in your browser
These tools use the Web Crypto API to compute exactly what a server would — so you can check your own implementation byte for byte without sending a secret anywhere.
- HMAC: the HMAC generator computes HMAC-SHA1, SHA-256 and SHA-512 in hex or Base64.
- Webhooks: the webhook signature verifier reproduces Stripe, GitHub, Shopify, Slack and Svix schemes, and the webhook sandbox produces signed and deliberately tampered requests for testing.
- AWS: the SigV4 generator shows the canonical request, string to sign and signing key — the values you need to fix a
SignatureDoesNotMatcherror. - Hashing and passwords: MD5, SHA-256 and SHA-3 checksums, PBKDF2 key derivation and a constant-time hash comparator.
For working verification code in Node.js and Python, see how to verify webhook signatures. For SigV4 problems, see the SignatureDoesNotMatch debugging guide.
Frequently asked questions
What is the difference between a hash and an HMAC?
A hash such as SHA-256 has no key: anyone can compute it, so it proves integrity but not origin. An HMAC mixes in a secret key, so only someone holding the key can produce a matching value. Webhook and API request signatures use HMAC for that reason.
Why does my HMAC not match the provider's?
Usually the signed bytes differ: the body was parsed and re-serialised, a timestamp prefix was left out, or you compared hex against Base64. Paste both sides into the HMAC generator and compare the exact input string.
Is MD5 or SHA-1 still safe to use?
Not for signatures, certificates or anything an attacker can influence — both have practical collision attacks. They remain acceptable for non-security checksums and inside HMAC, where collision resistance is not what the construction relies on. Use SHA-256 for anything new.