-
Notifications
You must be signed in to change notification settings - Fork 29
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
Add Example For Poseidon Hash Function #34
Comments
Hi! You can find some examples in the test case:
https://github.com/meilof/pysnark/pull/27/files#diff-4d13c5e2b571a105adadc440b54a9aeffe260b317e9fe8bd17d89ba9467d2e84.
I hope that helps!
…On Thu, Nov 11, 2021 at 11:33 PM AtropineTears ***@***.***> wrote:
Hello,
Could you add an example for producing a proof of the preimage with the
Poseidon Hash Function. It would be much appreciated.
Thank you
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#34>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACAJUU7X573HXHAG5OJNBADULRAB7ANCNFSM5H3PUUPA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
--
Meilof
-- ***@***.***
|
Hi, Can you help me? I am trying to implement proving a Poseidon preimage hash but cannot seem to get it to work right. I am looking at input of 32 bytes that will be hashed and proving that the prover knows the 32 bytes. Thank you! |
Is the text example hashing:
I would like to see a method of hashing a byte string |
Did you try running the test cases from
https://github.com/meilof/pysnark/blob/master/test/test_poseidon_hash.py?
Did you try running a simple example program such as
https://github.com/meilof/pysnark/blob/master/examples/cube.py? What is
going wrong?
…On Thu, Nov 18, 2021 at 7:24 PM AtropineTears ***@***.***> wrote:
Is the text example hashing:
0, 1, 2, 3,4
I would like to see a method of hashing a byte string
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#34 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACAJUU5JUI7TGOSEQKW6QJDUMVAGBANCNFSM5H3PUUPA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
--
Meilof
-- ***@***.***
|
Yes, Can you add Poseidon to the An example would be of proving you know:
preimage, for example |
I don't know much of python so it is hard of me to use it. I am trying to find out how to hash a preimage and prove it. |
Hello,
Could you add an example for producing a proof of the preimage with the Poseidon Hash Function. It would be much appreciated.
Thank you
The text was updated successfully, but these errors were encountered: