Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cleanpegasus/shield
Proof of preimage of a hash from a given list
https://github.com/cleanpegasus/shield
Last synced: about 1 month ago
JSON representation
Proof of preimage of a hash from a given list
- Host: GitHub
- URL: https://github.com/cleanpegasus/shield
- Owner: CleanPegasus
- Created: 2024-08-04T06:25:08.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-08-05T10:51:19.000Z (5 months ago)
- Last Synced: 2024-08-06T07:53:10.528Z (5 months ago)
- Language: C++
- Homepage:
- Size: 6.49 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Shield
### Rareskill Circom Bootcamp Homework - 6
Create a ZK circuit that lets you prove you know the preimage of *one* of the hashes in a list.That is, a smart contract holds a fixed-length array of hashes (MiMC, Poseidon,…, your choice) and you submit a proof that you know the preimage to one of them.
Thus, your circuit takes an input of n hashes (public input) and the preimage of the hash and which hash it is (private input).