MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wrkhx9/donotletyourdbaseethis/pcde34k/
r/ProgrammerHumor • u/NoMedicine3572 • Sep 27 '26
318 comments sorted by
View all comments
Show parent comment
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)
View all comments
Show parent comment
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.