Replies: 1 comment 1 reply
-
Hey @cskiraly , I think this article can be really helpful here: https://geometryresearch.xyz/notebook/groth16-malleability :) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Documentation of the Semaphore circuit at https://semaphore.appliedzkp.org/docs/technical-reference/circuits#signal states that "The circuit calculates a dummy square of the signal hash to prevent any tampering with the proof."
I think this could use some more explanation. In fact, we were wondering why is this needed/useful, and if so, why squaring was chosen as the dummy operation. Wouldn't simply having the input suffice?
It might not cost too much to have the square there, but I'm interested from the theoretical point of view to know what's the reason behind it and what would change if the squaring is not done on that input.
Beta Was this translation helpful? Give feedback.
All reactions