Skip to content

How to compute a commitment using mimc #905

Answered by ivokub
jeljelih asked this question in Q&A
Discussion options

You must be logged in to vote

This should work. Please note that MiMC hash is not universal as we have defined a MiMC instance per curve. So you would have to ensure that the witness you compute is computed using same MiMC instance as is used inside the circuit.

For debugging it would be better to have full minimal runnable program (including witness generation etc.)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jeljelih
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants