4 ms·
This is misleading because it only covers message digest hashing, presenting that as being the definition of hashing "what hashing is". The other important has
by kazinator 3y ago
This is misleading because it only covers message digest hashing, presenting that as being the definition of hashing "what hashing is".
The other important hashing is the reduction of an object of any kind (including, but not limited to texts) being used as a key, to a numeric code (usually fitting into a single machine word) to be used as an index for fast look up in a "hash table" data structure.
This is related to testing whether two things are the same, but the security aspect isn't important. More important is the aspect that the hash code is exploited as an integer in order to jump to the right bucket or starting point in the hash table.
Hash tables can be on disk, not only in memory.