Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bcrypt.compare('password2345', '$2y$10$7aUWwJkcNt8Nl6lyMbEK3.kUYVV3yDWhxoFY476uSsQdHaq3diMjG', function(error, res){
- if (res == true)
- console.log('password correct');
- else
- console.log('password failure');
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement