Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php bcrypt 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 stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #bcrypt #password #verify
ADD COMMENT
Topic
Name
3+3 =