Eli5:what is Hash value?

253 views

Eli5:what is Hash value?

In: 3

5 Answers

Anonymous 0 Comments

A hash is a cryptographic function (algorithm) that you run a file through. The resulting hash value is a constant size (usually much smaller than the original file, but it doesn’t have to be). It is also semi-unique…there’s a very low probability that the hash of another file would result in the same value. It is also impossible to directly reverse, because most of the information from the original is lost.

In essence, it’s a way to create a signature of a file.

A hash has several uses. One is that you can store the hash of a password, and allow the system to authenticate someone providing that password even though the system doesn’t “know” what the original password is. The user inputs the password and it is run through the same hash function, and the result is compared to the stored hash value. If it matches, then the password is correct.

You are viewing 1 out of 5 answers, click here to view all answers.