Jump to content

Hash function

From Simple English Wikipedia, the free encyclopedia
Revision as of 19:45, 13 June 2006 by Eptalon (talk | changes)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
How a hash function works

When a computer program is written, very often, large amounts of data need to be stored. These are normally stored in tables. In order to find the data again, some value is calculated. This is like when someone reads a book, and to remember, they put what they read into their own words. Hash values are much the same, except that care is taken that different sets of data do not get the same hash value )This is called a hash collision.