-
Notifications
You must be signed in to change notification settings - Fork 214
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
Poseidon encryption and decryption #60
base: master
Are you sure you want to change the base?
Conversation
…poseidon encryption/decryption
…tate permutation circuit
I've updated the PR for circomlib 1.0 and circom 2.0. |
Any reason this hasn't been merged @weijiekoh? |
No particular reason that I know of. |
Does this PR just need to be re-targeted against circomlibjs instead? Edit: Looks like the downstream PLONK optimizations also need to be rebased in. Downstream also split the Poseidon permutations out slightly different. |
Hey folks - any chance to get this stuff merged in? |
This PR implements Poseidon encryption and decryption following this spec:
https://drive.google.com/file/d/1EVrP3DzoGbmzkRmYnyEDcIQcXVU7GlOd/view
It also refactors the Poseidon permutation function to allow the Poseidon hash function to share code with the encryption/decryption functions.
Circuits and tests are also included.