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 Poseidon hash function #387

Closed
critesjosh opened this issue Oct 20, 2022 · 4 comments · Fixed by #768
Closed

Create Poseidon hash function #387

critesjosh opened this issue Oct 20, 2022 · 4 comments · Fixed by #768
Labels
enhancement New feature or request stdlib Standard library shipped with Noir tooling

Comments

@critesjosh
Copy link
Contributor

Problem

Poseidon is a common hash function when writing circuits--add it to the Noir stdlib.

Solution

Write the Poseidon hash function in Noir.

Additional context

We will consider giving a grant to do this.

@critesjosh critesjosh added the enhancement New feature or request label Oct 20, 2022
@critesjosh
Copy link
Contributor Author

@kevaundray can you add the noir-stdlib label to this?

@kevaundray kevaundray added the stdlib Standard library shipped with Noir tooling label Oct 20, 2022
@vaibhavgeek
Copy link

vaibhavgeek commented Oct 26, 2022

@TomAFrench I am working on noir implementation of poseidon hash. It would be helpful if you could share code for keccack hash in noir, it could help me if I get stuck.

My repository is public (https://github.com/vaibhavgeek/poseidon) and looking forward to collaborators.

@vaibhavgeek
Copy link

vaibhavgeek commented Nov 3, 2022

Update: Awaiting vectors / Multi dimensional arrays to be implemented in Noir before further proceeding with the same, basic implementation is completed.

Work currently on standby as communicated with @vezenovm.

@vezenovm
Copy link
Contributor

vezenovm commented Nov 9, 2022

Update: Awaiting vectors / Multi dimensional arrays to be implemented in Noir before further proceeding with the same, basic implementation is completed.

Work currently on standby as communicated with @vezenovm.

@vaibhavgeek From discussions with the team I cannot give an exact timeline when this will be added. This isn't currently a priority for us as multi dimensional arrays can be mocked using 1D arrays at the moment.

@Savio-Sou Savio-Sou added this to Noir Feb 13, 2023
@Savio-Sou Savio-Sou removed this from Noir Feb 13, 2023
@Savio-Sou Savio-Sou added this to Noir Feb 23, 2023
@Savio-Sou Savio-Sou moved this to 🚧 Blocked in Noir Feb 23, 2023
@github-project-automation github-project-automation bot moved this from 🚧 Blocked to ✅ Done in Noir Apr 3, 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 stdlib Standard library shipped with Noir tooling
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

4 participants