Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $hello = 'admsahra1216hs';
- $hash = password_hash($hello, PASSWORD_DEFAULT);
- echo "$hash";
- echo "<br>";
- $a = file_get_contents('content/pss.txt');
- $b .= $a;
- echo "$b";
- if (password_verify($b, $hash)) {
- echo "True<br>";
- }
- else {
- echo "err";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement