sha256 java android and php code example Example: php sha256 echo hash('sha256', $_POST['ppasscode']);