Navigate back to the homepage
HomeAbout

WTH is Zero Knowledge Proof?

Author avatar
Milica Vulić
January 12th, 2023 · 3 min read

Zero-knowledge proof is a method by which one party (the prover) can prove to another party (the verifier) that a given statement is true, without revealing any additional information beyond the fact that the given statement is true.

This magic is done by allowing the prover to create a mathematical proof that the statement in question is true, which the verifier can then check without the need to see any additional information.

For those who have never seen ZKPs (and for those who have seen them and got puzzled) - keep on reading - I'll try my best to explain it in simple terms as much as possible 🤓

I assume you played standard cards once in your life, but anyway, let's rehearse:

The standard deck counts 52 cards. These 52 cards are divided into night and day cards, which are represented by Black and Red, 26 of each of them.

Now we know all of this, let's play a game! ♠️♥️♣️♦️

I will hold a deck and draw a card - but I'll never show you which one. Still, I want to convince you it's a Red one.

Do you believe me? Why would you? The only way for me to convince you it's a Red one is to show you my card, right?

Well - I have a different answer for you. If we play with a standard deck of cards (which is important, I'll further explain why), there are 51 more cards in the deck. 25 of them Red, 26 Black - as per my claim. If I show you all of the Red ones, you can easily learn my card, if I am to speak the truth, but still, my card can be Black.

For me to support my claim, I'll have to show you every last one of those 26 Black cards - that's the only way you will be convinced my statement is true without seeing my card.

AAAAND - game over! Bravo, you just learned how ZKPs work! 🙌

Let's tap into lessons:

For you to be convinced, it is necessary for us to agree that we play under given circumstances that our deck is standard and therefore, known to both of us. That being said, our space for proving is a finite one.

But Milica! Where is there Zero Knowledge Proof? 🤔

Well, it's right under your nose. I never showed my card, remember? You never knew which card I drew, but I still managed to convince you my card is a Red one.

That's the beauty of ZKPs.

zkpcryptography
Share:

More articles from 0xMilica

My 🔑 Notes on Blockworks' Predictions for Crypto in 2023 - in 3 minutes

Crypto’s 2022 wrapped Compared to prior cycles, we started to see real use cases. ATM, there is a global financial crisis in the blockchain mostly due to translating TradFi into DeFi, and the lack of transparency. This is the first bear market in history where people have not thought that the industry is done. The positivity of technology has been acknowledged. The flight of talent into the industry is here to stay. 1st QRT is gonna be a wipeout due to seasonality, poor vortexes, and global

December 29th, 2022 · 4 min read

Creating light nodes using substrate-connect

I had the pleasure of joining the discussion about light nodes integrated into wallets hosted by Stefan Sopic from Parity Technologies. Many web3 folks are not quite aware that things are pretty centralised in our decentralised world. Decentralisation in reality MetaMask, behind the scenes, is using Infura infrastructure. Stefan made a solid point that the focal point of all the requests* MetaMask handles is in fact based on the East Coast, USA, through the same blockchain node provider. I

December 15th, 2022 · 2 min read
0xMilica © 2023
HomeAbout
Link to $https://twitter.com/0xMilicaLink to $https://www.linkedin.com/in/0xMilica/Link to $https://github.com/0xMilica