Created
July 7, 2017 10:23
-
-
Save anonymous/4dedcdaa31137e39d3cb49b955469f58 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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