Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add better coverage of hash functions #60

Open
dbosk opened this issue Feb 10, 2022 · 0 comments
Open

Add better coverage of hash functions #60

dbosk opened this issue Feb 10, 2022 · 0 comments
Milestone

Comments

@dbosk
Copy link
Member

dbosk commented Feb 10, 2022

Particularly that collision resistance implies second preimage resistance, which in turn also implies preimage resistance.

The reductions are something along the lines of this:

  • col(): x <- rand(), x' <- second_pre(x)
  • second_pre(x): y <- H(x), do x' <- pre(y) until x' != x

It's actually a bit more complicated when looking at the details, I can recommend reading "Cryptographic Hash-Function Basics: Definitions, Implications, and Separations for Preimage Resistance, Second-Preimage Resistance, and Collision Resistance" by Rogaway and Shrimpton. They cover the details very nicely.

@dbosk dbosk added this to the v2023 milestone Feb 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant