This story was originally published on HackerNoon at:
https://hackernoon.com/storing-passwords-in-a-database-a-better-way-to-do-so.
Discover the best practices for securely storing passwords in a database. Explore the risks of plain text storage and the advantages of using hashing functions
Check more stories related to programming at:
https://hackernoon.com/c/programming.
You can also check exclusive content about
#programming,
#authentication,
#storing-passwords,
#how-to-store-user's-passwords,
#bcrypt,
#what-is-a-dictionary-attack,
#how-to-protect-your-users,
#storing-passwords-securely, and more.
This story was written by:
@brilianfird. Learn more about this writer by checking
@brilianfird's about page,
and for more stories, please visit
hackernoon.com.
This article talks about how to store passwords securely in a database. Basically, storing passwords in plain text is a big no-no, so you should use hashing functions instead. Bcrypt is a slow hashing function that's considered more secure because it takes longer to crack, making it harder for attackers to get their hands on your users' passwords.