Hash_collision Hash_collision

Hash collision - Definition and Overview

Related Words: Antithesis, Backlash, Blow, Brunt, Bulldozing, Bump, Calamity, Cannon, Carom, Casualty, Cataclysm, Catastrophe, Clash, Competition, Concussion, Conflict, Confrontation, Contention

Hash collision is a term in computer programming for a situation that occurs when two distinct inputs into a hash function produce identical outputs.

In Searching

An efficient method of searching can be to calculate a hash value and then use it as an index into an array of data. Such a procedure can do a look up in the constant time required to compute the hash value and retrieve the data, unless a hash collision occurs. In the case of a hash collision some other method is necessary, since it indicates two inputs (search keys) map to the same location requiring disambiguation. Chaining is a method where all the data with the same hash value is searched by a different method. Alternately, when a hash collision occurs further entries in the hashed table being searched can be checked, either with the same hash value or with a secondary function, until either the correct entry is located or an unused location is reached.

In Cryptography

One desirable property of cryptographic hash functions is that it is computationally infeasible to find a collision. The value of a hash function can be used to certify an input is unchanged by publishing the value of the hash if it is impossible to find another reasonable input with the same hash value.

See also

Example Usage of collision

honadvtraffic: MOTOR VEHICLE collision: 9:41:27 PM, 98085X NAUKEWAI PL
shirleyns00: Mangini-Ryan collision course is set for Sunday: Jets head coach... http://tinyurl.com/yzemqlm
scribblegurl: RT @LAFD: *Fatal Traffic collision* 960 W 74th St; MAP 704-A1; FS 57; PRELIM: 2 patients deceased at scene; Media contact = LAPD/Coroner ...
Copyright 2009 WordIQ.com - Privacy Policy  :: Terms of Use  :: Contact Us  :: About Us
This article is licensed under the GNU Free Documentation License. It uses material from the this Wikipedia article.