forever_gen_salt.js 165 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 var bcrypt = require('../bcrypt'); (function printSalt() { bcrypt.genSalt(10, function(err, salt) { console.log('salt: ' + salt); printSalt(); }); })()