weblog.sh
weblog.sh copied to clipboard
SHA Is Not a Suitable Algorithm for Securing Passwords.
Here it looks like you are using SHA to hash passwords.
It is my understanding SHA is not a suitable algorithm for securing passwords.
According to OWASP (and indeed, many other security resources,) bcrypt or PBKDF2 should be used instead.
Argon2 would be a better candidate than bcrypt or PBKDF2.
@mozfreddyb,
Are you sure?
I cannot find any Node modules for Argon2, let alone a one that is tried and true like node.bcrypt.js.