/zkPic

Using ZK Proofs To Prove Edits In A Image

Primary LanguageTypeScript

ZKPic

Using ZK Proofs to Fight Disinformation

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

npm run dev
# or
yarn dev
# or
pnpm dev