Molso
0
Q:

password_verify


<?php
$hash = password_hash('rasmuslerdorf');
// the password_hash function will encrypt the password into a 60 character string
if (password_verify('rasmuslerdorf', $hash)) {
    echo 'Password is valid!';
} else {
    echo 'Invalid password.';
}
?>
// the only to decrypt is by using the password_verify() function
-1
$password = ;LULPassword342';
$hashedPassword = 'dasasdfjkl;asdfiojadfasdasdfasdfsda23412342345@#!$df';//hash
$passwordCheck = password_verify($password,$hashedPassword);
0

New to Communities?

Join the community