how to do SHA-256 php code example
Example 1: php sha256
echo hash('sha256', $_POST['ppasscode']);
Example 2: sha256 in php
$hash = hash('sha256', 'hello, world!');
var_dump($hash);
echo hash('sha256', $_POST['ppasscode']);
$hash = hash('sha256', 'hello, world!');
var_dump($hash);