How HMAC-SHA256, HMAC-SHA512, HMAC-SHA384 & HMAC-SHA1 Signature Generator Works & When to Use It
Compute RFC 2104 / RFC 4231 keyed-hash message authentication codes (HMAC-SHA256, HMAC-SHA512, HMAC-SHA384, HMAC-SHA1 in Hex and Base64) for Razorpay, Cashfree, Shopify, and GitHub webhooks. Calculations and file processing run in this browser tab. The tool does not send working inputs or files to our hosting server.
Step-by-Step Instructions
- Enter the labelled values or choose an example.
- Run the tool and review the result and its assumptions.
- Copy or download the result. Reset restores defaults; Undo restores the previous settings.
Worked Examples
| Scenario | Input Parameters | Example Output |
|---|---|---|
| RFC 4231 Vector #2: Key "Jefe", Data "what do ya want for nothing?" | {"payload": "what do ya want for nothing?", "secret": "Jefe", "algorithm": "HMAC-SHA256", "keyEncoding": "utf8", "newlineMode": "lf"} |
5bdcc146bf60754e6a042426089575c75a003f089d2739839dec58b964ec3843 |
| Razorpay order_id|payment_id with HMAC-SHA512 | {"payload": "order_9A33XWu170gUtm|pay_29QQoUBi66xm2f", "secret": "test_webhook_secret_123", "algorithm": "HMAC-SHA512", "keyEncoding": "utf8", "newlineMode": "lf"} |
47e97e1276d305ba675b1e1f9cc8ccefc6e56d9ff2b7eaa393f6db65502a6b894466b8f2eccb6cbb6b2c392a4893aba67e031fc8f5282f9263655d9f719fbdce |
Formula, reference and effective date
- Reference Standard / Authority: IETF RFC 2104 HMAC & RFC 4231 HMAC-SHA-224/256/384/512 Test Vectors
- Applicable Period / Effective Date: 2025-2026
- Privacy & Execution Mode: Browser-Local Only (Zero Server Upload) (None (Pure Vanilla JS & Web Crypto))
Important Limitations & Edge Cases
Uses 64-byte block size for SHA-1/SHA-256 and 128-byte block size for SHA-384/SHA-512 per RFC 4231. Keys longer than the block size are hashed first per RFC 2104. Check the assumptions and output against your intended task before relying on the result.
Frequently Asked Questions (FAQs)
1. Is HMAC-SHA256, HMAC-SHA512, HMAC-SHA384 & HMAC-SHA1 Signature Generator completely free to use without registration?
Yes. Every tool on Easy Tools Today is 100% free with no paywall, no sign-up, and no subscription required.
2. Are the numbers or files I enter uploaded to any server?
Calculations and file processing run in this browser tab. The tool does not send working inputs or files to our hosting server.
3. What should I check before using the result?
Check the assumptions and output against your intended task before relying on the result. Reference: IETF RFC 2104 HMAC & RFC 4231 HMAC-SHA-224/256/384/512 Test Vectors.