php sha256
echo hash('sha256', $_POST['ppasscode']);
Raising Star
echo hash('sha256', $_POST['ppasscode']);
<?php
echo hash('sha512', 'Franz jagt im komplett verwahrlosten Taxi quer durch Bayern.');
?>
hash($hashingMethod, $dataToBeHashed, $BinaryOutputMode = false)
some hashingMethod options:
md5
sha1
sha256
sha384
sha512