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

Meme doNotLetYourDBASeeThis

Post image
13k Upvotes

318 comments sorted by

View all comments

Show parent comment

24

u/Pingumask Sep 27 '26

There should be no duplicates. You're supposed to salt the passwords before hashing them to avoid making it visible that two users have the same password to anyone accessing the DB (even to someone with legit access to the DB)

7

u/Historical-Silver495 Sep 27 '26

Help, I'm not a programmer. After salting the passwords I realized I overdid it, can I use something to counterbalance it like sugar?

7

u/Pingumask Sep 27 '26 • Popcorn

Put a potato in, it absorbs the salt

2

u/SVD_NL Sep 28 '26

That's what hashing is for! Add potatoes to turn them into hashbrowns.

1

u/conundorum Sep 29 '26

If your computer is old enough, it should have a potato insertion tray that pops out if you press a little button on the front.

1

u/mikedvb Sep 27 '26

Trying to help, I'm not a cook. You're fucked mate.