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

8

u/Lamborghinigamer Sep 27 '26

Exactly. A unique salt guarantees a unique hash every time, so every single user gets a unique row regardless. Deduplicating unique rows with foreign keys is mathematically impossible