This works fine for the registration process... // Hash/Salt Password AccountSchema.pre('save', function(next) { const account = this; bcrypt.hash(account.password, 10, function(err, hash) { if (err) return next(err); account.password = h...
Cj commentedOne of my current open source projects utilizes different crypto-libs. one of them is openssl. a openssl thing for the normal encrypt / decrypt api call is the options field. which basically just defines how the output should return. During writing...
CMMJason and 2 more commentedWhat are relatively secure parameters {N, r, p} to use for Scrypt? Particularly the p parameter. Apparently any positive integer for p is valid, but with p=1, the algorithm never touches ROMix, correct? Is that section of the algorithm completely opt...
Join discussion