Second-preimage resistance ⇒ Weak OWF
Statement
Let with be second-preimage resistant. For every inverter , the second-preimage finder that runs and returns its output satisfies
— RS04 (Theorem 7(1), Sec → Pre, with the proof in Appendix B.1). Since , every efficient inverter succeeds with probability at most , so is weakly one-way. If , the same bound makes one-way. For a family on other finite sets read through the binary encodings of the CRHF definition, the same proof gives the additive term .
Sketch
At most inputs have no second preimage under , so the challenge has one except with probability . If its image has preimages, ‘s view depends on only through , so a successful answer equals with probability and is a second preimage with probability — RS04.
Notes
- One bit of compression does not make one-way. For a second-preimage-resistant , let for and otherwise. Inputs beginning with have no second preimage under , and a second preimage of any other input is one under , so every second-preimage finder against yields one against with at least its advantage; yet is inverted on every input beginning with , a quarter of them — standard.
- The additive term depends on the compression in an essential way: for there is an unkeyed function whose second-preimage advantage is at most against every adversary and which is inverted with probability in linear time — RS04 (Proposition 9(1)).
- With CRHF ⇒ Second-preimage resistance, this gives collision resistance ⇒ weak one-wayness with the same bound, which RS04 state as Theorem 7(4); the direct argument (CRHF ⇒ Weak OWF) has additive loss and no factor — folklore. A target-collision-resistant family is weakly one-way by way of UOWHF ⇒ Second-preimage resistance (Theorem 7(3)).