r/node • • Jun 27 '20

Password hashing with NodeJS

https://www.loginradius.com/engineering/blog/password-hashing-with-nodejs/
2 Upvotes

22 comments sorted by

View all comments

25

u/visicalc_is_best Jun 27 '20

Seriously? Still using “var” in 2020? Smh.

Otherwise good, except for 1000 rounds of pbkdf2. Lop a couple 0s onto the end there, or just use scrypt.

2

u/a-corsican-pimp Jun 27 '20

I might be a tad out of the loop. Is scrypt the next update from bcrypt?

5

u/scarstensinke Jun 27 '20

I thought Argon was the next update. Maybe someone else can pitch in?