Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php password verify

<?php
// See the password_hash() example to see where this came from.
$hash = '$2y$07$BCryptRequires22Chrcte/VlQH0piJtjXl.0t1XkA8pw9dMXTpOq';

if (password_verify('rasmuslerdorf', $hash)) {
    echo 'Password is valid!';
} else {
    echo 'Invalid password.';
}
?>
Source by www.php.net #
 
PREVIOUS NEXT
Tagged: #php #password #verify
ADD COMMENT
Topic
Name
9+5 =