Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

bcrypt npm

bcrypt.genSalt(saltRounds, function(err, salt) {
    bcrypt.hash(myPlaintextPassword, salt, function(err, hash) {
        // Store hash in your password DB.
    });
});
Source by www.npmjs.com #
 
PREVIOUS NEXT
Tagged: #bcrypt #npm
ADD COMMENT
Topic
Name
1+1 =