Collision resistance

Collision resistance

Collision resistance is a property of cryptographic hash functions: a hash function is collision resistant if it is hard to find two inputs that hash to the same output; that is, two inputs a and b such that H(a) = H(b), and ab.[1]:136

Every hash function with more inputs than outputs will necessarily have collisions. Consider a hash function such as SHA-256 that produces 256 bits of output from an arbitrarily large input. Since it must generate one of 2256 outputs for each member of a much larger set of inputs, the pigeonhole principle guarantees that some inputs will hash to the same output. Collision resistance doesn't mean that no collisions exist; simply that they are hard to find.

The birthday "paradox" places an upper bound on collision resistance: if a hash function produces N bits of output, an attacker who computes "only" 2N/2 hash operations on random input is likely to find two matching outputs. If there is an easier method than this brute force attack, it is typically considered a flaw in the hash function.[1]:141

Cryptographic hash functions are usually designed to be collision resistant. But many hash functions that were once thought to be collision resistant were later broken. MD5 and SHA-1 in particular both have published techniques more efficient than brute force for finding collisions.[2][3] However, some compression functions have a proof that finding collisions is at least as difficult as some hard mathematical problem (such as integer factorization or discrete logarithm). Those functions are called provably secure.

Rationale

Collision resistance is desirable for several reasons.

  • In some digital signature systems, a party attests to a document by publishing a public key signature on a hash of the document. If it is possible to produce two documents with the same hash, an attacker could get a party to attest to one, and then claim that the party had attested to the other.
  • In some proof-of-work systems, users provide hash collisions as proof that they have performed a certain amount of computation to find them. If there is an easier way to find collisions than brute force, users can cheat the system.
  • In some distributed content systems, parties compare cryptographic hashes of files in order to make sure they have the same version. An attacker who could produce two files with the same hash could trick users into believing they had the same version of a file when they in fact did not.

See also

References


Wikimedia Foundation. 2010.

Игры ⚽ Поможем сделать НИР

Look at other dictionaries:

  • Collision attack — In cryptography, a collision attack on a cryptographic hash tries to find two arbitrary inputs that will produce the same hash value, i.e. a hash collision. In contrast to a preimage attack, neither the hash value nor one of the inputs is… …   Wikipedia

  • Collision Inélastique — Un appareil photo stroboscopique à 25 images par seconde a recueilli ces images d une balle qui rebondit. Chaque choc de la balle est inélastique, une partie de son énergie cinétique est dissipée à chaque contact. Si la résistance de l air est… …   Wikipédia en Français

  • Collision inelastique — Collision inélastique Un appareil photo stroboscopique à 25 images par seconde a recueilli ces images d une balle qui rebondit. Chaque choc de la balle est inélastique, une partie de son énergie cinétique est dissipée à chaque contact. Si la… …   Wikipédia en Français

  • Resistance — «Resistance» Сингл Muse из альбома The Resistance …   Википедия

  • Resistance (chanson) — Resistance Single par Muse extrait de l’album The Resistance Pays  Royaume Uni Sorti …   Wikipédia en Français

  • Resistance Tour Live — (titre provisoire) Live par Muse Sortie 2011 Enregistrement 2010 Durée  ? Genre Rock alternatif Rock progressif …   Wikipédia en Français

  • Collision response — In the context of classical mechanics simulations and physics engines employed within video games, collision response deals with models and algorithms for simulating the changes in the motion of two solid bodies following collision and other… …   Wikipedia

  • Collision cascade — A classical molecular dynamics computer simulation of a collision cascade in Au induced by a 10 keV Au self recoil. This is a typical case of a collision cascade in the heat spike regime. Each small sphere illustrates the position of an atom, in… …   Wikipedia

  • Collision inélastique — Un appareil photo stroboscopique à 25 images par seconde a recueilli ces images d une balle qui rebondit. Chaque choc de la balle est inélastique, une partie de son énergie cinétique est dissipée à chaque contact. Si la résistance de l air est… …   Wikipédia en Français

  • resistance — Synonyms and related words: Charley, VC, Vietcong, acquired immunity, active immunity, alienation, antagonism, antibody, antigen, antipathy, arrest, arrestation, arrestment, artificial immunity, autism, autistic thinking, averseness, aversion,… …   Moby Thesaurus

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”