🔐
HMAC-SHA256/SHA512
Industry-standard cryptographic hashing algorithms for secure signature generation.
Cross-language HMAC-SHA256/SHA512 payload verification for PHP and JavaScript
| Language | Framework | Status |
|---|---|---|
| PHP | Laravel 10+ | ✅ Available |
| PHP | CakePHP 4+ | ✅ Available |
| PHP | CodeIgniter 4 | ✅ Available |
| JavaScript | Node.js / Browser | ✅ Available |
| Python | Django / Flask | 🚧 Coming Soon |
| Ruby | Ruby on Rails | 🚧 Coming Soon |
Try generating signed payloads with different configurations.
1777528686941Enter secret and payload to generateimport { XSignClient } from 'x-sign-payload';
const xSign = new XSignClient({
secret: 'your-secret',
algorithm: 'sha256',
enableTimestamp: true
});
const payload = {
"email": "user@example.com",
"name": "John Doe"
};
const headers = await xSign.sign(payload);
// headers = {
// 'X-Timestamp': '1777528686941',
// 'X-Signature': 'sha256=...',
// 'Content-Type': 'application/json'
// }Generate a signed payload right here. Configure your secret key, choose whether to include timestamp protection, and see the generated signature in real-time. Toggle between different programming languages to see the implementation code.