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

Enhance Cairo Prover with Poseidon Hashing #1

Open
neotheprogramist opened this issue Oct 3, 2023 · 0 comments
Open

Enhance Cairo Prover with Poseidon Hashing #1

neotheprogramist opened this issue Oct 3, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@neotheprogramist
Copy link
Member

We aim to embark on a significant project with profound implications in the zk proofs ecosystem.

Currently, there exists a Cairo prover powered by miniSTARK that is compatible with StarkWare's verifiers. You can find the repository here. This prover employs the blake2 hashing algorithm for generating STARK proofs.

Our objective is to enhance this prover by integrating the Poseidon hashing, which is notably optimized for zk proofs. Notably, the intended outcome is for the prover to generate identical proofs, with the sole distinction being the hashing algorithm employed. Instead of using blake2, we aim to integrate Poseidon.

For reference, there are some pre-existing implementations of the Poseidon hashing algorithm that could potentially guide our development:

Furthermore, during the research phase, another notable discovery was made. A paper describes an enhanced version of Poseidon, referred to as Poseidon2. This variant is apparently faster than the original Poseidon. You can find the paper here. Given this information, it would be prudent for our implementation to be structured in a manner that facilitates an easy transition to Poseidon2, should we decide to adopt it in the future.

@neotheprogramist neotheprogramist added the enhancement New feature or request label Oct 3, 2023
@neotheprogramist neotheprogramist self-assigned this Oct 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant