How To Correctly Store Passwords in a Database

Something so simple can be dangerous at the same time

Kesk -*-
Better Programming
Published in
3 min readJul 6, 2021

--

Devices locked by chain
Photo by Pixabay from Pexels.

Saving user passwords in a database is common, but not every developer does it well. For example, in a code review today, I found that the passwords were in plain text. When I asked the developer what the danger of saving it this way was, they quickly realized the issue and wondered if the…

--

--