Can someone help tell how to generate a 3-CNF verifier for SHA-256 that:
- outputs 1 if message/input's calculated SHA-256 value matches the pre-provided hash
- Otherwise outputs 0.
Given that the message can be arbitrarily long we can assume it to have a finite length (say 2 MB) to make our task simpler.