php sha 512/256 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);