I need to create HmacSHA256 from a string with a private key.I have a working php code
$paytr_token=base64_encode(hash_hmac('sha256',$hash_str.$merchant_salt,$merchant_key,true));
I need to create HmacSHA256 from a string with a private key.I have a working php code
$paytr_token=base64_encode(hash_hmac('sha256',$hash_str.$merchant_salt,$merchant_key,true));