1 / 6

Collision Resistance in Cryptography: A Review of the Merkle-Damgard Paradigm

Learn about collision resistance in cryptography through a comprehensive review of the Merkle-Damgard paradigm. Understand how hash functions work and why they are important for data security.

nodin
Download Presentation

Collision Resistance in Cryptography: A Review of the Merkle-Damgard Paradigm

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Online Cryptography Course Dan Boneh Collision resistance The Merkle-Damgard Paradigm

  2. Collision resistance: review Let H: M T be a hash function ( |M| >> |T| ) A collision for H is a pair m0 , m1  M such that: H(m0) = H(m1) and m0  m1 Goal: collision resistant (C.R.) hash functions Step 1: given C.R. function for short messages, construct C.R. function for long messages

  3. The Merkle-Damgard iterated construction m[0] m[1] m[2] m[3] llPB Given h: T × X ⟶ T (compression function) we obtain H: X≤L⟶ T . Hi - chaining variables PB: padding block H(m) h h h h H0 H1 H2 H3 H4 IV (fixed) If no space for PB addanother block 1000…0 llmsglen 64 bits

  4. MD collision resistance Thm: if h is collision resistant then so is H. Proof: collision on H ⇒ collision on h Suppose H(M) = H(M’). We build collision for h. IV = H0 , H1 , … , Ht , Ht+1 = H(M) IV = H0’ , H1’ , … , H’r, H’r+1 = H(M’) h( Ht, Mtll PB) = Ht+1 = H’r+1 = h(H’r, M’rll PB’)

  5. Suppose Ht = H’r and Mt = M’r and PB = PB’ Then: h( Ht-1, Mt-1) = Ht = H’t = h(H’t-1, M’t-1 )

  6. ⇒ To construct C.R. function, suffices to construct compression function End of Segment

More Related