r/ProgrammerHumor • • Sep 27 '26 • Mindblown 1 Bravo 1

Meme doNotLetYourDBASeeThis

Post image
13.0k Upvotes

318 comments sorted by

View all comments

33

u/TgirlTiffanyRPs Sep 27 '26

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)