Arbitrary-length CRHF ⇒ Arbitrary-length weakly collision-resistant hash
Statement
Every arbitrary-length CRHF is arbitrary-length weakly collision resistant, with the same key generation, domain and range . For every adversary whose oracle queries have total length , the collision finder that runs , answers each query with and outputs ‘s pair has
in the time of plus the evaluations of , which take time polynomial in and — folklore.
Notes
- Merkle–Damgård iteration of a CRHF is an arbitrary-length CRHF (CRHF ⇒ Arbitrary-length CRHF (Merkle–Damgård)) — Rog06; BCK96 key such an iteration by a secret initial value in place of and require only its weak collision resistance (Definition 3.1).
- The same simulation makes every CRHF on one input length weakly collision resistant (CRHF ⇒ Weakly collision-resistant hash) — folklore.