Skip to content

Instantly share code, notes, and snippets.

Created July 7, 2017 10:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/4dedcdaa31137e39d3cb49b955469f58 to your computer and use it in GitHub Desktop.
Save anonymous/4dedcdaa31137e39d3cb49b955469f58 to your computer and use it in GitHub Desktop.
<?php
$password = "test123";
$encrypted_passowrd = "$2y$10$39V5xIpBWg5Cg0nkYmkxXus6e1jL1hkEqy36WMwb.sm0Vl4syv6qu";
$decrypt = password_verify($password,$encrypted_passowrd);
if($decrypt){
echo "Password Verified";
}else{
echo "Password is not Valid";
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment