forever_gen_salt.js 165 B

12345678
  1. var bcrypt = require('../bcrypt');
  2. (function printSalt() {
  3. bcrypt.genSalt(10, function(err, salt) {
  4. console.log('salt: ' + salt);
  5. printSalt();
  6. });
  7. })()