Servidor/node_modules/bcrypt/examples/forever_gen_salt.js

9 lines
162 B
JavaScript

const bcrypt = require('../bcrypt');
(function printSalt() {
bcrypt.genSalt(10, (err, salt) => {
console.log('salt: ' + salt);
printSalt();
});
})()