How to store passwords in a database (from security view?) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

How to store passwords in a database (from security view?)

Passwords can be stored as: ▪Plaintext ▪Encrypted ▪Hashed ▪Hashed and salted I want to hear from experienced Web developers, how do you guys do this task? If possible write down some syntax, and do share some links. Thanks.

17th May 2019, 6:59 PM
Byk
2 Answers
+ 3
Jared Bird Thanks!
17th May 2019, 9:48 PM
Byk
+ 2
The hashed and salted is the best way as you don't store the actual password and its the hardest to reverse. Have you already read through sololearn cryto lessons? https://www.sololearn.com/learn/10505/?ref=app
17th May 2019, 8:58 PM
Jared Bird
Jared Bird - avatar