3 ms·
hashing is like a meat grinder grind up a cow. store the ground beef somewhere when a user wants to login, grind up the new cow in an identical manner. compa
by elchief 6y ago
hashing is like a meat grinder
grind up a cow. store the ground beef somewhere
when a user wants to login, grind up the new cow in an identical manner.
compare the new ground beef with the stored ground beef.
if match (the new cow is a clone of the old cow), authenticate
- tobyhinloopen 6y agoNow I want a burger, but it’s midnight. Thanks
- roywiggins 6y agoThat explains the advice to always salt and pepper your hash.
- snypox 6y agoWhat a good analogy, right.
- jaza 6y agoMince meat all looks the same to me, so it seems like a poor hashing medium, I would be passing auth 100% of the time, regardless of the cow. (Or dog! Or human!)
- sdflhasjd 6y agoAn analogy I like to use is a sum of numbers: You take your letters and substitute them for numbers, A = 1, Z = 26. Like a checksum, you add all the letters together. The same word produces the same sum each time, but if I had the sum, I wouldn't know for certain what the original word was.