English
English
简体中文
Register
Log In
English
English
简体中文
Register
Log In
Language
English
English
简体中文
Register
Log In

How to calculate HmacSHA256 signature with php?

Last Updated on2024-05-14 03:01:53
$data="xxxx";
$secret_access_key="yyyy";
$signature = strtoupper(bin2hex(hash_hmac("sha256", utf8_encode($data), utf8_encode($secret_access_key), true)));

Click for services and help

Help Center