Advertisement
Guest User

Untitled

a guest
Feb 26th, 2014
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. bcrypt.compare('password2345', '$2y$10$7aUWwJkcNt8Nl6lyMbEK3.kUYVV3yDWhxoFY476uSsQdHaq3diMjG', function(error, res){
  2.     if (res == true)
  3.         console.log('password correct');
  4.     else
  5.         console.log('password failure');
  6. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement