How to call mimc to input a string and output the mimc hashed result? #444
Replies: 2 comments
-
@AlexandreBelling @Tabaie 😭Can someone kindly help me? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Answered in #443 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In the example of https://play.gnark.io/#, it can be seen that the hash result of "Secret": "0xdeadf00d" is "Hash": "1037254799353855871006189384309576393135431139055333626960622147300727 796413", how to call https://github.com/Consensys/gnark-crypto/blob/master/ecc/bn254/fr/mimc/mimc.go can input Secret to get Hash by implementing mimc function? I tried many methods, but the output is 0 or wrong result. The following is one of them:
Beta Was this translation helpful? Give feedback.
All reactions