Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

bcrypt npm

// Load hash from your password DB.
bcrypt.compare(myPlaintextPassword, hash, function(err, result) {
    // result == true
});
bcrypt.compare(someOtherPlaintextPassword, hash, function(err, result) {
    // result == false
});
Source by www.npmjs.com #
 
PREVIOUS NEXT
Tagged: #bcrypt #npm
ADD COMMENT
Topic
Name
2+3 =