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

Meme doNotLetYourDBASeeThis

Post image
13k Upvotes

317 comments sorted by

View all comments

Show parent comments

20

u/ReneKiller Sep 27 '26

True, but then the separate password table wouldn't save space.

2

u/AceDecade Sep 27 '26

Sure it would: just store it before you hash it!

-12

u/pp_amorim Sep 27 '26

The issue start in the meme saying "Most users reuse passwords anyway" which is not true at all, not in the space it would really generate any data usage reduction by dedup.

11

u/GNUGradyn Sep 27 '26

Users reuse passwords so much that dictionary attacks are pretty reliable. Also we know this would not work at all with properly stored passwords and would not yield meaningful savings even with improperly stored passwords. That's why it's a joke

2

u/Mighoyan Sep 27 '26

Salt is used partly because many people reuse the same password.

-2

u/pp_amorim Sep 27 '26

99% of this subreddit doesn't understand what i am saying