how to use password verify in php from database code example
Example 1: password_verify php
<?php
$hash = password_hash('rasmuslerdorf');
if (password_verify('rasmuslerdorf', $hash)) {
echo 'Password is valid!';
} else {
echo 'Invalid password.';
}
?>
// the only to decrypt is by using the password_verify() function
Example 2: password_verify
$password = ;LULPassword342';
$hashedPassword = 'dasasdfjkl;asdfiojadfasdasdfasdfsda23412342345@
$passwordCheck = password_verify($password,$hashedPassword);