Zero Knowledge Proof Explained Simply

March 4, 2019   Zcash

Blockchain was created to provide the users with an additional layer of security achieved through anonymization and encryption of all financial and personal data. However, a sufficient amount of information, such as transaction history, the volume of transferred funds as well as the public key, remain visible to all participants in the network. While most crypto enthusiasts may argue that such an ‘openness’ constitutes the core concept of the blockchain technology, there are a lot of users who would prefer to keep even this portion of information concealed. That is when a zero-knowledge proof comes handy.     

The definition of a zero-knowledge proof

A zero-knowledge proof is a cryptographic protocol that provides means for one of the interacting parties to assure the other party of the validity of the conveyed information without disclosing a single part of its content hence the term ‘zero-knowledge’.

The interacting parties are called the ‘verifier’ and the ‘prover’. To put it simply, the prover has to convince the verifier that the information that he possesses is valid without revealing the nature of that information - the zero disclosure.

 In order for the verifier to come to the conclusion that the concealed information is valid, he must present the prover with a number of challenges which are known collectively as the “interactive input”. That is why the zero-knowledge proof usually comes in the form of an interactive protocol.

How a zero-knowledge proof when applied to blockchain - explained using a simple example

Let’s imagine that there is a person named Viktor (verifier) who gets approached by Peter (prover) and claims that he possesses some secret information which is valuable to Viktor, for instance, a private key. 

Now, Viktor needs to assure himself of Peter’s trustworthiness by asking him a series of questions. In case of blockchain, Viktor would initiate an interactive input by sending an encrypted message using prover’s public key. Peter then uses his private key to decrypt the message and send it back to Viktor. In order to bring the probability of Peter guessing the message without actually decrypting it almost to the naught, Viktor would have to send a series of messages until he gets absolutely convinced that Peter is trustworthy thus the information that he carries is also verifiable. 

It should be noted that in order for the protocol to qualify as a zero-knowledge proof, it has to meet the following three criteria:

  • Completeness. The prover will be able to convince the verifier of the reliability of the possessed information regardless of the intensity of the interactive input.
  • Correctness. In case the information possessed by the prover is false, he won’t be capable of convincing the verifier otherwise.
  • Zero-knowledge. It should be emphasized the prover will not disclose the information to the verifier - only convince him that it is valid.  

The real use case of a zero-knowledge proof in cryptocurrencies

There are two digital currencies, namely Ethereum, INT, the developers of which have been playing around with the idea of introducing a zero-knowledge proof protocol, and only one - ZCash that had implemented this concept into practice.

In 2016, they created zk-SNARK which stands for ‘zero-knowledge succinct non-interactive argument of knowledge”, which is basically a proof construction that is quite similar to the one explained in the paragraph above. The ‘succinctedness’ of this protocol implies that the actual verification takes no longer than a few milliseconds.

The application of this protocol makes ZCash the most anonymous cryptocurrency of all but this characteristic comes at a price as ZEC has the reputation of being one of the favorite cryptocurrencies of hackers and cybercriminals.


Related Crypto News and Promotions

Top upcoming ICOs

ICOs Rating Days left
1 SerenitySource 5 25
2 5 26
3 Tycoon 5 26
4 DogData 5 26
5 2local 5 58
6 Curate 4.9 18
7 Ledder 4.9 26
8 Pawtocol 4.9 86
9 IdeaFex 4.9 560
10 BitWings 4.8 25

ICOs rating

Top Cryptocurrencies

Сryptocurrency CVIX Price Change, 24h
Bitcoin 70 $19 101.86 -1.09%
Ethereum 79 $594.02 -2.67%
XRP 93 $0.601311 -3.82%
Tether 1 $1.00 -0.04%
Litecoin 79 $85.32 -3.81%
Bitcoin Cash 65 $291.34 -0.20%
Chainlink 55 $13.43 -3.47%
Cardano 91 $0.156872 -2.13%
Polkadot 78 $5.22 -4.64%
Binance Coin 33 $29.71 -2.76%

Cryptocurrencies rating

Top Crypto Brokers

Broker Status
1 FIBO Group information
2 XM information
3 OctaFX information
4 101investing information
5 T1Markets information
6 InvestLite information
7 Orbex information
8 easyMarkets information
9 LH Crypto information
10 USGFX information

Brokers rating

Top Crypto Exchanges

Exchange Volume change, 24h
1 Binance 36.37%
2 2.65%
3 HBTC 13.25%
4 CITEX 11.02%
5 TAGZ Exchange 11.50%
6 Bidesk 14.76%
7 IDCM -11.63%
8 Bitribe 17.13%
9 Binance.KR 33.14%
10 Chiliz 16.90%

Exchanges rating