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 DogData 5 36
2 2local 5 67
3 SerenitySource 5 96
4 5 97
5 Tycoon 5 97
6 Pawtocol 4.9 68
7 Curate 4.9 89
8 Ledder 4.9 97
9 IdeaFex 4.9 630
10 BitWings 4.8 5

ICOs rating

Top Cryptocurrencies

Сryptocurrency CVIX Price Change, 24h
Bitcoin 43 $10 680.08 1.80%
Ethereum 46 $346.68 2.03%
Tether 1 $1.00 0.04%
XRP 51 $0.231459 -0.30%
Bitcoin Cash 69 $216.17 0.22%
Polkadot 40 $4.40 4.64%
Binance Coin 68 $24.26 1.65%
Chainlink 69 $9.32 11.98% Chain 53 $0.153515 1.15%
Litecoin 72 $44.91 0.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 easyMarkets information
7 Orbex information
8 LH Crypto information
9 USGFX information
10 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