Open baxiprince opened 4 years ago
https://baxiprince.github.io/2020/03/12/php_hmac_pass/
123456Hmac加密private function computeSignature($accessSecret, $canonicalString) { $s = hash_hmac('sha256', $canonicalString, $accessSecret, true); return base64_encode($s); 
666
https://baxiprince.github.io/2020/03/12/php_hmac_pass/
123456Hmac加密private function computeSignature($accessSecret, $canonicalString) { $s = hash_hmac('sha256', $canonicalString, $accessSecret, true); return base64_encode($s);