hmac sha256 code example
Example 1: php sha256
echo hash('sha256', $_POST['ppasscode']);
Example 2: hmac_sha256 node
let test = crypto.createHmac('sha256', "key").update("json").digest("base64");
Example 3: sha256_crypt.verify
import hashlib
user_entered_password = 'pa$$w0rd'
salt = "5gz"
db_password = user_entered_password+salt
h = hashlib.md5(db_password.encode())
print(h.hexdigest())