Files
micro-service-api/node_modules/bcrypt/examples/forever_gen_salt.js
2025-11-11 12:36:06 +07:00

9 lines
162 B
JavaScript

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