Discussions
Webhook Signature Encryption
11 months ago by Abdul
Please share code snippet if anyone has implemented below method in C#.
function verifyWebhookSignature(signature, url, payload, secret) {
return signature == crypto.createHmac('sha256', secret).update(Buffer.from(url + payload, 'utf-8')).digest('base64');
}