We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b53268f commit 78ea6d6Copy full SHA for 78ea6d6
src/Util/Notification.php
@@ -50,6 +50,6 @@ public static function verifyNotification(
50
$payload = $timestamp . ':' . $request;
51
$hash = hash_hmac('sha512', $payload, trim($apiKey));
52
53
- return $hash === $sha512hexPayload;
+ return hash_equals($hash, $sha512hexPayload);
54
}
55
0 commit comments