Hey HackerNoon fam! We're excited to be rolling out zkWeb - a free and open-source web app that lets you prove you know something without spilling the beans about what that something is. Zero-Knowledge Proofs (ZKPs) just got a whole lot friendlier and, dare we say, fun! 🚀
zkWeb is built on zokrates.js
, a super-slick JavaScript implementation of the ZoKrates toolbox for zkSNARKs on Ethereum.
Proof Generation Wizardry - When a verifier submits a key (it could be a phrase, a date, even a small image file), zkWeb uses sha256
hashing to ultimately convert your key into a unique 14-digit hex string. This hex string is then fed to zokrates.js, which does some computational acrobatics using Solidity code to generate a unique cryptographic proof. It’s like making a secret recipe that only works with your specific ingredients.
Proving the Key – The Secret Handshake: When a prover submits a key, zkWeb repeats the hashing hoopla, creating a new proof. This new proof is then compared with the verifier’s proof stored in zkWeb's database. If they match, voila! It’s a cryptographic high-five indicating a perfect match. If not, it’s a no-go. This means you can prove you know the secret without ever revealing it. Talk about a trust fall in digital form!
Take a look at the documentation for the full details on our technical implementation.
See how the app works by entering Super secret key!
on our demo proof page.
We're not stopping here. zkWeb’s roadmap includes programmatic ZKP smart contract deployment to blockchains, and other exciting features. Stay tuned!
Got ideas? Skills? Just super excited about privacy? Reach out at [email protected], check out our GitHub repository, or peek at our open tickets to start contributing. Join us in making digital privacy fun and accessible to all! 🌟🔐