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

Create a circomlib-compatible Poseidon gadget #601

Open
themighty1 opened this issue Sep 24, 2024 · 0 comments
Open

Create a circomlib-compatible Poseidon gadget #601

themighty1 opened this issue Sep 24, 2024 · 0 comments

Comments

@themighty1
Copy link
Member

We need to create a standalone crate which wraps https://github.com/privacy-scaling-explorations/poseidon-gadget/
The Poseidon function should be instantiated with the same params as https://github.com/iden3/circomlib/blob/master/circuits/poseidon.circom
Some tweaks need to be implemented on how inputs and outputs are assigned to the "capacity" and "rate" field elements.

Additionally, in order to be able to compute circomlib Poseidon hashes outside the zk circuit, we need to follow through with this PR privacy-scaling-explorations/poseidon-gadget#5

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