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

Comment about the security section and Poseidon #1277

Open
mschof opened this issue Oct 4, 2023 · 1 comment
Open

Comment about the security section and Poseidon #1277

mschof opened this issue Oct 4, 2023 · 1 comment
Milestone

Comments

@mschof
Copy link

mschof commented Oct 4, 2023

In the security section of the repository, a comment is made about the Poseidon hash function based on an analysis in BBLP22, saying that it only offers 95 bits of security in Plonky2. However, the corresponding analysis in this paper discusses a slightly different case. In particular, Section 4.3 describes a root-finding approach which was relevant in the case of the original challenges, where t=3 and finding the solution to a univariate equation was thus sufficient in order to find a preimage. However, the Poseidon instance in Plonky2 uses a 64-bit prime field, and in a univariate approach this technique would allow to find a 64-bit part of a preimage with around 95 bits of work. In other words, even exhaustive search would be more efficient.
To summarize, the approach discussed in BBLP22, while correct, does not apply to the Poseidon instance used in Plonky2 (and does not break any full-round Poseidon instance in general). As far as we know, the Poseidon instance used in Plonky2 retains the full 128 bits of the claimed security level.

@dlubarov
Copy link
Contributor

dlubarov commented Mar 5, 2024

Sorry I missed this earlier. Thanks Markus for clarifying this for us! I was wondering why the 95 bit figure didn't seem consistent with the scripts mentioned in and based on the paper. (If those estimates had been broken, I imagine that would have been made very clear.) Good to know.

@Nashtare Nashtare added this to the Misc. milestone Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

3 participants