Do we still need brcypt?
I was wondering if we could consider switching from https://www.npmjs.com/package/bcrypt to https://www.npmjs.com/package/bcryptjs. I know that the latter is 30% slower but we only use it to hash passwords during users' creation thus I don't see any significant performance implications.
The reason I am asking for this change is because recently I've updated my version of node which led to problems. My laptop had to build the bcrypt
from its binaries and that operation was and will always be problematic. I cannot see any benefits of keeping bcrypt
and not replacing with bcryptjs
.