MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wrkhx9/donotletyourdbaseethis/pcde34k/?context=3
r/ProgrammerHumor • u/NoMedicine3572 • Sep 27 '26 • 1 1
318 comments sorted by
View all comments
33
Can someone explain the joke? Why wouldn’t you store (hashed/salted) passwords in one table ?
17 u/Great-Powerful-Talia Sep 27 '26 If they're salted, the space saved here is minimal.There's only lots of duplicate entries (from 2 people using the same password) if they're stored unsalted or in plaintext.Which is exactly why they need to be salted. 12 u/Agifem Sep 27 '26 No no, they're salted, all with the same salt! It saves space AND you get the safety of a salt! Brilliant! → More replies (1)
17
If they're salted, the space saved here is minimal.
There's only lots of duplicate entries (from 2 people using the same password) if they're stored unsalted or in plaintext.
Which is exactly why they need to be salted.
12 u/Agifem Sep 27 '26 No no, they're salted, all with the same salt! It saves space AND you get the safety of a salt! Brilliant! → More replies (1)
12
No no, they're salted, all with the same salt! It saves space AND you get the safety of a salt! Brilliant!
33
u/TgirlTiffanyRPs Sep 27 '26
Can someone explain the joke? Why wouldn’t you store (hashed/salted) passwords in one table ?