Zero-knowledge proof explained like you are 5 years old
#1
Zero-knowledge proof explained like you are 5 years old

<!-- SC_OFF --><div class="md"><p>Hi kids!</p> <p>So, you're interested in cryptocurrencies, and you've heard about those so-called &quot;zero-knowledge proofs&quot; (ZK) used by projects such as Loopring, zkSync and StarkWare.</p> <p>Now you're wondering : what are zero-knowledge proofs and why are they so important? Good news, champ, I am here for you!</p> <p>Let's say I found a cave with two distinct entrances, Left and Right. The two entrances are connected by a corridor, but a dragon prevents anyone from passing through the corridor. To make the dragon let you through, you need a magic stone. I have this magic stone, and I want to prove to you that I have it, but I don't want to show it to you, and I don't want to tell my secret to anyone but you.</p> <p>This is how it works. You close your eyes while I enter the cave, without telling you if I chose the Left or Right entrance. You open your eyes again, then ask me to come out on a particular side and I do so. You close your eyes, I go back into the cave, and we repeat the experience 100 times.</p> <p>If I have the magic stone, the dragon will let me through everytime and I can leave the cave through the entrance you tell me, 100 times out of 100. But if I don't have the stone, every other time I won't be able to get out through the chosen entrance - statistically, I will only have the good answer 50% of the time.</p> <p><strong>So by using this method, I will prove to you that I have the magic stone, without ever showing it to you</strong>. Moreover, you will not be able to prove to anyone else that I have the stone, since an outside observer could always think that we have arranged it together in advance.</p> <p>This is what is called a zero-knowledge proof. In cryptocurrencies, <strong>the magic stone is the private key</strong>. Zero-knowledge proofs are used to show to a validator that you are indeed in possession of the private key, without revealing said private keys to the validator, and without letting the rest of the world know you have the key.</p> <p>Thank you for listening to my story. I hope you had fun today, my little friends!</p> </div><!-- SC_ON --> submitted by <a href="https://www.reddit.com/user/busterrulezzz"> /u/busterrulezzz </a> <br/> <span><a href="https://www.reddit.com/r/CryptoCurrency/comments/rwpfkx/zeroknowledge_proof_explained_like_you_are_5/">[link]</a></span> <span><a href="https://www.reddit.com/r/CryptoCurrency/comments/rwpfkx/zeroknowledge_proof_explained_like_you_are_5/">[comments]</a></span>Kind Regards R
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Worldcoin controversy explained in latest Cointelegraph Report Dato 0 127 08-10-2023, 08:18 AM
Last Post: Dato
  Decentralized Web3 data service taps ZK-proofs for tamper-proof SQL queries Dato 0 82 08-03-2023, 06:45 AM
Last Post: Dato
  Zero-knowledge proofs, explained Dato 0 62 07-31-2023, 02:56 PM
Last Post: Dato
  Another week of DeFi hacks, but ZK-proof development heats up: Finance Redefined Dato 0 73 07-29-2023, 06:31 AM
Last Post: Dato
  After 5 Years of Effort Rain Joins Growing Crypto Market in the Middle East Andy 0 50 07-27-2023, 06:40 AM
Last Post: Andy



Users browsing this thread: