Is there any way to create a HmacSHA256 signature of a string in php?
Use hash_hmac:
hash_hmac
$sig = hash_hmac('sha256', $string, $secret)
Where $secret is your key.
$secret
2.1m questions
2.1m answers
60 comments
57.0k users