Advertisement
Guest User

Untitled

a guest
Oct 21st, 2016
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. $hello = 'admsahra1216hs';
  2.  
  3.  
  4. $hash = password_hash($hello, PASSWORD_DEFAULT);
  5. echo "$hash";
  6. echo "<br>";
  7.  
  8. $a = file_get_contents('content/pss.txt');
  9. $b .= $a;
  10. echo "$b";
  11. if (password_verify($b, $hash)) {
  12. echo "True<br>";
  13. }
  14. else {
  15. echo "err";
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement