Arbitrary-length CRHF ⇒ Length-halving second-preimage resistance
Statement
Let be an arbitrary-length CRHF. Its output length , for any key , is polynomially bounded and computable from in polynomial time. Set and
with the key generation of . Then is length-halving second-preimage resistant. Collision resistance implies second-preimage resistance for a family on any domain whose second-preimage game draws the challenge from and accepts a partner anywhere in — RS04 (Definition 2, Proposition 6(1), Coll → Sec), here with and . For every second-preimage finder against there is a collision finder against , running in the time of plus one evaluation of and one uniform sample from , with
— standard.
Sketch
On key , computes , samples , runs and outputs . When wins, and , so , since appends the same to both values.
Notes
- Collision resistance forces for all sufficiently large , since for the inputs and collide, and for every with , is the restriction of to — standard.
- A CRHF on one input length yields an arbitrary-length CRHF by Merkle–Damgård iteration (CRHF ⇒ Arbitrary-length CRHF (Merkle–Damgård)) — Rog06. On a CRHF of one input length the same reduction gives CRHF ⇒ Second-preimage resistance — RS04.