You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.
I'm new to the zk-snarks world, still trying to figure out how everything works.
I would like to generate a proof of pre-image using SHA256 and an arbitrary sized input.
I was wondering if you could make available some sort of tutorial on how to achieve this, or at least provide some general guidelines on how to use the SHA256 gadget.
Thank you in advance!
The text was updated successfully, but these errors were encountered:
The problem with an arbitrary input size is that the zk-snark circuit is fixed sized, you can hash an arbitrary number of bits (in a way which is compatible with the SHA256 function on Ethereum and everywhere else), as long as you only ever have to prove that you've hashed that specific number of bits.
I'm new to the zk-snarks world, still trying to figure out how everything works.
I would like to generate a proof of pre-image using SHA256 and an arbitrary sized input.
I was wondering if you could make available some sort of tutorial on how to achieve this, or at least provide some general guidelines on how to use the SHA256 gadget.
Thank you in advance!
The text was updated successfully, but these errors were encountered: