Zokrates / ZoKrates

A toolbox for zkSNARKs on Ethereum
https://zokrates.github.io
GNU Lesser General Public License v3.0
1.81k stars 361 forks source link

baby jubjub signature #1293

Closed old-wu-the-one closed 1 year ago

old-wu-the-one commented 1 year ago

I was signing a message using go-iden3-crypto/babyjub and found that he signed it using poseidon hash. In the example verifyeddsa.zok you gave, sha512 is used to sign the message. Can I verify the message signed by poseidon? How do I change my zok code?