baxiprince / baxiprince.github.io

VB小源码个人博客
0 stars 0 forks source link

php Hmac加密 | 编程记 #21

Open baxiprince opened 4 years ago

baxiprince commented 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); &#1

baxiprince commented 4 years ago

666