Skip to content

Instantly share code, notes, and snippets.

/verify.php
Created Jul 7, 2017

Embed
What would you like to do?
<?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
You can’t perform that action at this time.