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
1.4m articles
1.4m replys
5 comments
57.0k users