re: Explain Hashing + salting Like I'm Five VIEW POST

VIEW PARENT COMMENT VIEW FULL DISCUSSION
 

Got a few things to note here:

Multiple values can lead to one hash

This shouldn't happen in a secure hashing algo

so if you hash a password, no one could get the password back from that hash

The reasoning for this actually has to do with the modular arithmetic used in the hashing process. In short, the hashed version of the password has less "data" inherently in the number, so you have to spend much more time essentially performing guesswork on what that lost data was if you want to get the original value from the hash.

 

Doesn't your second point negate the first?

Strictly in theory, yes, but with the scope of the numbers used, it should be computationally infeasible to generate a collision.

code of conduct - report abuse