How to properly store a password in the Database(petrepopescu.tech)
petrepopescu.tech
How to properly store a password in the Database
https://petrepopescu.tech/2021/01/how-to-properly-store-a-password-in-the-database/
1 comments
If anyone has other suggestions or a better way, I am happy to read about it.
PBKDF2 is no longer recommended as a hashing algorithm, as it is easy to brute-force it on a GPU. Argon2id is the newest recommended algorithm (watch out for the other variants of Argon2 which are have trade-offs between GPU resistance and side-channel resistance).
If your language of choice does not have a decent, audited implementation of Argon2id, you can go with bcrypt or scrypt, which would be an improvement over PBKDF2, and usually widely available in most languages.
https://en.m.wikipedia.org/wiki/Argon2
https://crypto.stackexchange.com/questions/30785/password-ha...
If your language of choice does not have a decent, audited implementation of Argon2id, you can go with bcrypt or scrypt, which would be an improvement over PBKDF2, and usually widely available in most languages.
https://en.m.wikipedia.org/wiki/Argon2
https://crypto.stackexchange.com/questions/30785/password-ha...
Thanks. I was not aware that PBKDF2 is no longer recommended.