php hash string with sha512 code example
Example 1: php sha256
echo hash('sha256', $_POST['ppasscode']);
Example 2: php hash
<?php
echo hash('ripemd160', 'The quick brown fox jumped over the lazy dog.');
?>
echo hash('sha256', $_POST['ppasscode']);
<?php
echo hash('ripemd160', 'The quick brown fox jumped over the lazy dog.');
?>