$binary = base64_decode($secret); $hex = strtoupper(bin2hex($binary)); $hmac = base64_encode(hash_hmac('sha256', $stroka, $hex, true));
確定! 回上一頁