Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

bcrypt nodejs hash password

 bcrypt.genSalt(saltRounds, (err, salt) => {
    bcrypt.hash(yourPassword, salt, (err, hash) => {
       console.log(salt + hash)
    });
});
 
PREVIOUS NEXT
Tagged: #bcrypt #nodejs #hash #password
ADD COMMENT
Topic
Name
5+5 =