r/ProgrammerHumor • • Sep 27 '26

Meme doNotLetYourDBASeeThis

Post image
13k Upvotes

318 comments sorted by

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.

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)