hash_hmac w użyciu czystej klasycznej ASP
Chcę wiedzieć, czy jest jakiś sposób na osiągnięciehash_hmac("sha256", $token, $signkey, true)
(php) w klasycznej ASP?
Potrzebuję go, aby zweryfikować żądanie podpisane z Facebookahttps://developers.facebook.com/docs/howtos/login/signed-request/
// Adding the verification of the signed_request below
$expected_sig = hash_hmac('sha256', $payload, $secret, $raw = true);
if ($sig !== $expected_sig) {
error_log('Bad Signed JSON signature!');
return null;
}