Skip to main content

ZCash


How to prove that you know something, without revealing it? Zero-knowledge proofs, ZCash, Ethereum.

Recently a new term started buzzing around in Crypto community — Zero Knowledge Proof or ZK-Snark.


Z
ero-knowledge proof is a method or process, where one person (the prover) can prove something to another person (the verifier) that given statement is true without revealing no additional information about that statement apart from the fact that it is actually true.

Let’s take an example.

I managed to find a simple example to understand everything better. Imagine an experiment, where we have a color-blind person who cannot distinguish colors.


And we have two balls of different colors.


You know that those balls are different colors, however, for the color-blind person they seem identical. The question is, how you can prove him, that these balls are actually different without revealing any information which one is which, not even their actual color?

This is where Zero-knowledge proof comes into play.

You conduct an experiment:
The color-blind person takes both balls and hide them behind his back. Then he shows you one ball, returns it back, and shows you the same or the second ball one more time.
Every time you have to say if he has swapped the balls or not. From now on, each time he shows the ball, there is a 50% probability that he swapped the ball.


By looking at their colours, you can definitely say whether or not he switched them. On the other hand, if they were the same colour and hence indistinguishable, there is no way you could guess correctly with probability higher than 50%.
If you repeat this proof multiple times, the color-blind person should be convinced that balls are actually different colour otherwise, you would not be able to guess right that many times.
This is a perfect example of zero-knowledge proof. You never reveal what color and which ball is which, but the color-blind person is convinced that the balls are actually different color.
A more technical example could be that given the hash of a random number, the prover can convince the verifier not only that the number exists, but that they in fact know such a number for that hash — again, without revealing any information about the number.
So why everyone talks about this thing? Where it can be actually applied in Crypto space?

ZCash



C
ryptocurrency with market cap of more than $840,000,000 is fully powered by Zero-Knowledge proof. Zcash is the first open, permissionless cryptocurrency that can fully protect the privacy of transactions using zero-knowledge cryptography.


Zcash is powered by zero-knowledge proof construction called a zk-SNARK.
Zcash uses zk-SNARKs to prove that the conditions for a valid transaction have been satisfied without revealing any crucial information about the addresses or values involved. The sender of a shielded transaction constructs a proof to show that, with high probability:
  • the input values sum to the output values for each shielded transfer.
  • the sender proves that they have the private spending keys of the input notes, giving them the authority to spend.
  • The private spending keys of the input notes are cryptographically linked to a signature over the whole transaction, in such a way that the transaction cannot be modified by a party who did not know these private keys.

ZEC — is the currency and the possibilities of transfer is displayed on the image above

To be honest, I haven’t deeply analysed Zcash before, but now it seems pretty fascinating from a technology perspective and at the same time pretty scary from money laundering perspective. Compared to Bitcoin, you can trace the route of a coin, and once it hit’s some exchange — EUREKA, most of the time you know the actual person behind some bad things. With ZCash you do not have that ability anymore.

Ethereum



T
he recent Ethereum Metropolis (Byzantium) upgrade added a zk-SNARKs — a cryptographic tool developed by ZCash team. The building blocks of the verification algorithm was added to Ethereum in the form of precompiled smart contracts.
Using zk-SNARKS on Ethereum you could implement Token transfers from one address to another without revealing the amount of the transaction. Consensys explained how it could work here.
In DevCon3 there was presented The Open Vote Network, a system that enables anonymous voting on the Ethereum platform using Zero-Knowledge proofs.

Still early

It is still early and there is not many applications on Ethereum developed yet using Zero-knowledge proof, but it shows a huge potential for privacy on Ethereum Blockchain.

Side note

I had an opportunity to study cryptography for half a year. Even though the course was interesting, it was not that satisfying as I couldn’t find real-world use-cases by that time. And just more than a year ago, I started to understand the actual value of cryptography in the whole CryptoCurrency economy, as everything is purely based on it and mathematics.
This knowledge allows me to understand the true value behind cryptocurrency like Zcash and many more. I would highly recomend you to digg deeper into cryptography and the mechanics of it, as this knowledge gives you massive advantage no matter your goals.

Enjoyed the article? Please let me know that by recommending it to others by clicking CLAP below.
Click follow, if you want to get more insights on the blockchain and smart contracts!

https://bitcointalk.org/index.php?action=profile;u=1011357

Comments

Popular posts from this blog

BITCOIN 2

BITCOIN 2 Hallo semua ... Disini saya akan jelaskan tentang apa itu BITCOIN2 untuk lebih jelasnya mari kita simak artikel ini  |   |  Situs Resmi   |   |  PENGANTAR Bitcoin 2 adalah garpu Bitcoin terukur dengan transaksi pribadi dan pembayaran terverifikasi instan.  Ini adalah open source, anonim, cepat dan didasarkan pada algoritma "Proof of Stake".  Bitc2.org telah menemukan beberapa bounties untuk membantu mempromosikan Bitcoin 2. Sebanyak 100.000 BTC2 dialokasikan untuk kampanye hadiah.  Payout adalah satu Bitcoin 2 per saham kecuali total kampanye yang mencapai lebih dari 100.000 taruhan.  dalam hal ini payout akan menjadi 100.000 BTC2 / TOTAL CAMPAIGN STAKES * YOUR STAKES. Hari terakhir menyerahkan semua entri Anda adalah 28 Juni 2018 (23:59 GMT).  Entri setelah itu tidak akan memenuhi syarat untuk pembayaran.  Semua pembayaran akan dilakukan oleh   jackleszz  ...

FREEZONE BOUNYY

FREEZONE BOUNTY WEBSITE  | BLOG  | TWITTER  | FACEBOOK | TELEGRAM  | ANN FreeZone Bounty Program FreeZone bounty campaign will be explained in details below. The total allocation for the bounty is 1% of total token supply sold. This means that if all 500,000,000 tokens are sold - 5,000,000 will be distributed amongst bounty participants. With the initial price of 0.2 USD, it means that the value of the bounty prize pool could be  stunning 1,000,000 USD! The Stake System Bounty participants will be split into bounty pools based on their method of contribution with each pool having its own distribution MOG tokens. The fairest way to share the tokens in the bounty is by using the “stakes” system. You will be awarded "stakes" for each task you successfully complete in each pool. At the end of the token sale, the entire value of the pool will be distributed to the stakeholders based on the number of stakes they hold. General Rules The...

What is Citizen Finance? The whole series about Project Citizen Finance

  In just a short time, the  Defi  space has expanded and grown non-stop. In the current Defi world, users can not only borrow and transact but also save money at an interest rate that is always optimized over traditional markets. However have you ever heard of real ownership of property in the game? That is the product Citizen Finance will provide you. Invite everyone to read about Citizen Finance through the article below. Table of contents What is Citizen Finances? Highlights of Citizen Finance! Token Citizen Finance Key Metrics Mechanism ​Deduction Reward and Buyback Monetary Incentives ​Buyback and Burn Token Sale Roadmaps and Updates What is Citizen Finances? Citizen Finance is an introduction to  GameFi  and true ownership of in-game assets. While acting as a bridge between the world of traditional gaming and blockchain,  Citizens  will create a platform where players are the true owners of their in-game assets, they can stake it, resell it, gif...