ZKP in a browser? You got it!

The zCloak Network team is very excited to announce we have just achieved the first STARK proof generation in a browser extension.

What is in the demo? In the demo, we have a simple algorithm to judge if a person is over 20 years old. A result of “true” is obtained for Alice who is 26 and a STARK proof is generated to prove the correctness(integrity) of her computation. If Alice sends the result and the proof to a 3rd party, she will be able to prove that she is over 20 years old without disclosing her exact age.

How was it achieved? We have managed to make the Rust ZKP virtual machine into a wasm library and made it accessible to a js/ts front-end such as a web-page or a browser extension. Now users can perform a wide range of computation/analysis on their private data and generate a Zero-Knowledge Proof to attest their computational integrity. Note that, with the ZKP virtual machine, you don’t have to hand-write a circuit/air for each of your algorithms anymore.

Why is it important? This experiment implies a shift of computation paradigm—from cloud computing to cloaked computing. We are getting closer to the goal of Web 3.0—no need to send your private data to centralized servers anymore. Now you can use your data in your local space and prove your computation is correct with zero-knowledge proof. This is significant for data privacy protection. After all, if you don’t have to share your data with any 3rd parties, there is nothing they can do to misuse/leak your data.

You can check this article for a more detailed technical overview of the zCloak Network project.

About zCloak Network

Twitter | Blog | Website | Github

Zero Knowledge Proof as a service in Polkadot. Website: zcloak.network