Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/0xrishabh/zkPic
Using ZK Proofs To Prove Edits In A Image
https://github.com/0xrishabh/zkPic
Last synced: 3 months ago
JSON representation
Using ZK Proofs To Prove Edits In A Image
- Host: GitHub
- URL: https://github.com/0xrishabh/zkPic
- Owner: 0xrishabh
- Created: 2023-06-23T10:40:24.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-07T13:35:46.000Z (12 months ago)
- Last Synced: 2024-08-03T16:09:57.047Z (6 months ago)
- Language: TypeScript
- Homepage:
- Size: 33.5 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-noir - ZKPic - generate zero knowledge proofs for image edits (Projects / Authentication)
README
# ZKPic
[Using ZK Proofs to Fight Disinformation](https://medium.com/@boneh/using-zk-proofs-to-fight-disinformation-17e7d57fe52f)
## Intro
#### Circuits:
There are three circuits:
* *Gray:* Proves an image is a grayscale of the other.
* *Crop:* Proves an image is cropped from the other.
* *Resize:* Proves an image is a resized version of the other.By default, all the circuits are configured to take images of size (w * h = 4000).
This can be configured through the *DEPTH* variable in each circuit.
#### Frontend:
A simple UI allows you to upload images to generate and verify proofs.
For testing, Each folder `circuits/*circuit_name*` has two images to upload and see proofs.
### Getting Started```bash
npm run dev
# or
yarn dev
# or
pnpm dev
```