Difference between revisions of "Collision (computer science)"
From Wiki @ Karl Jones dot com
Karl Jones (Talk | contribs) (First) |
(No difference)
|
Revision as of 07:22, 5 June 2015
In computer science, a collision or clash is a situation that occurs when two distinct pieces of data have the same hash value, checksum, fingerprint, or cryptographic digest.
Collisions are unavoidable whenever members of a very large set (such as all possible person names, or all possible computer files) are mapped to a relatively short bit string.
This is an instance of the pigeonhole principle.
The impact of collisions depends on the application.
- When hash functions and fingerprints are used to identify similar data, such as homologous DNA sequences or similar audio files, the functions are designed so as to maximize the probability of collision between distinct but similar data.
- Checksums, on the other hand, are designed to minimize the probability of collisions between similar inputs, without regard for collisions between very different inputs.
External links
- Collision (computer science) @ Wikipedia