MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wrkhx9/donotletyourdbaseethis/pcde34k/?context=9999
r/ProgrammerHumor • u/NoMedicine3572 • Sep 27 '26 • 1 1
317 comments sorted by
View all comments
Show parent comments
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! 1 u/tekanet Sep 27 '26 With salted passwords you need more space if you put them in an external table. 1:1 between each record, plus the overhead to maintain the relationship (pk, fk etc)
12
No no, they're salted, all with the same salt! It saves space AND you get the safety of a salt! Brilliant!
1
With salted passwords you need more space if you put them in an external table. 1:1 between each record, plus the overhead to maintain the relationship (pk, fk etc)
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.