What is Zero-Knowledge Proofs?

medium2022-08-01 tarihinde yayınlandı2022-08-01 tarihinde güncellendi

Özet

If you have been around crypto long enough, you should by now have seen the word ZK plenty of times. But what really is it? Let us demystify it for you today.

If you have been around crypto long enough, you should by now have seen the word ZK plenty of times. But what really is it? Let us demystify it for you today.

ZKP — Zero Knowledge Proof

The most common interpretation of ZK is Zero Knowledge Proof. It is a cryptography concept where the Prover needs to convince the Verifier that he knows the answer to a question without revealing the actual answer.

Hmmm…. How is that possible?

Let us give you an ELI5 example.

Where is Wally?

Verifier is stuck in the following “Where is Wally” puzzle and seeks the Prover for help.

Source: https://www.independent.co.uk/arts-entertainment/books/news/where-s-the-brains-behind-wally-6261459.html

The Prover was able to find Wally but asked the Verifier for an incentive before revealing the answer. The Verifier does not want to give away the incentive now since he is not sure if the Prover is lying or not. So, the Prover decides to use a ZKP technique to show the Verifier he knows the answer without pointing out where Wally is to the Verifier.

The Prover asks the Verifier to turn around. He then takes a large piece of black cardboard with a small hole in the middle, which only shows Wally. Then he asks the Verifier to turn back.

From this, Verifier did not get Wally’s actual location, yet is now convinced the Prover has found Wally. Note, that the black cardboard must be so big that not even the approximate location of Wally can be estimated. Interesting technique, right?

If that wasn’t enough, let us give you another ELI13 example.

Sudoku

Imagine the Verifier has the following Sudoku and is unable to complete it:

But the Prover was able to work out the answer but does not want to share the exact solution with the Verifier (before he is paid at least):

Again, the Prover thought of a clever ZKP method to demonstrate to the Verifier he knows the answer without revealing the actual answer.

The Prover sets up the following automated function:

Step 1: The function comes up with a random mapping table, e.g.

1 -> 3

2 -> 4

3 -> 1

4 -> 2

Step 2: The function replaces the Prover’s Sudoku answer with the newly mapped number, e.g:

Step 3: The Verifier will ask to be shown a random row or column, e.g. row 2, then 4, 3, 1, 2 will be shown to the Verifier.

The Verifier sees the select subset meets the rule of Sudoku, hence it is likely the Prover did have the answer. He can request to repeat this randomized process enough times so he is fully convinced the Prover wasn’t bluffing him.

It is important during every repeat that a random new mapping table is used, so the Verifier cannot gain the full solution by requesting rows 1, 2, 3, and 4 and do the reverse mapping himself. Also, the process needs to be automated (just like how Smart Contracts are), so the Verifier can trust the process.

From these examples, we can see ZKP requires an intermediate process to mask the exact solution, which may not give 100% confidence to the Verifier immediately, but the probability can be increased as the process repeats.

Also, ZKP does not have a single solution for all cases; hence design and implementation of the proof in real life can be challenging.

As zero-knowledge is a deep topic, in the next blog we will dive into ZK’s usage in Ethereum. For example, scaling solutions utilize ZK to use only the most recent snapshots to produce new blocks on Layer 1 without having to store the whole history of the blockchain.

İlgili Okumalar

The Entire Internet Hails Noam's Joining, But OpenAI's Loss Bill Just Got Thicker

While the AI community celebrates Noam Shazeer, co-author of the "Attention Is All You Need" paper, joining OpenAI as Head of Architectural Research, the company's audited financials reveal a starkly different reality. In 2025, OpenAI reported $13.07 billion in revenue but a massive $20.92 billion operating loss. Even excluding a one-time accounting charge, the cash burn is severe, with $3.7 billion consumed in Q1 2026 alone. This high-profile hiring occurs against a backdrop of significant internal research talent drain, with key founders and researchers departing as the company's focus shifts from exploratory research to product iteration. Meanwhile, OpenAI's fundamental business model faces a deep crisis. It paid Microsoft $10.59 billion for compute in 2025, while its vast user base of 9 billion weekly actives includes only 50 million paying customers, making growth a direct driver of escalating costs. The article argues Shazeer's recruitment is less about technical necessity and more about crafting a compelling narrative for OpenAI's upcoming IPO, aiming to justify a rumored $1 trillion valuation to future public market investors. It contrasts OpenAI's strategy with Anthropic's reported path to profitability, which relies on a strong enterprise customer base and cost control, rather than star-powered narratives. Ultimately, the piece concludes that while Shazeer's architectural work may take 1-2 years to materialize, OpenAI's financial clock is ticking much faster, with its massive losses undercutting the celebratory headlines.

marsbit25 dk önce

The Entire Internet Hails Noam's Joining, But OpenAI's Loss Bill Just Got Thicker

marsbit25 dk önce

Market Trend (June 19): US-Iran Deal Drives Out Geopolitical Premium; Chip Stocks Soar to New Highs; Energy Sector Leads Declines

U.S. Market Trends (June 19): U.S.-Iran Deal Eases Tensions, Chip Stocks Soar, Energy Sector Leads Declines. U.S. stocks rallied on Thursday as the signing of a temporary U.S.-Iran deal in Geneva de-escalated Middle East tensions, with Saudi oil tankers transiting the Strait of Hormuz. This geopolitical relief helped markets recover from recent Fed-driven volatility. The S&P 500 rose over 1%, the Nasdaq gained nearly 2%, and the Dow Jones Industrial Average closed at another record high. The Philadelphia Semiconductor Index surged over 6% to a historic peak. Chip stocks were the standout performers. Reports of an Apple-Intel design and foundry deal for certain products, alongside mentions of potential Nvidia and SpaceX collaborations with Intel, propelled the sector. Intel surged ~10.5%, while memory chip makers like Micron also saw significant gains, highlighting sustained confidence in long-term AI capital expenditure. In contrast, the energy sector was the day's sole loser, with the S&P 500 energy sub-index declining as WTI crude fell ~2% to around $74.29/barrel. The reopening of key shipping routes erased prior geopolitical risk premiums. SpaceX extended losses for a second day on news of a potential large bond offering. Market volatility (VIX) dropped sharply, indicating a swift reversal of post-Fed jitters. Treasury yields dipped slightly but remained elevated. The focus now shifts to upcoming economic data, including next week's PCE inflation report and Micron's earnings, which will serve as a key test for the AI trade's durability.

marsbit48 dk önce

Market Trend (June 19): US-Iran Deal Drives Out Geopolitical Premium; Chip Stocks Soar to New Highs; Energy Sector Leads Declines

marsbit48 dk önce

Will MicroStrategy Fall Into a Death Spiral? How Will the Macro Outlook Evolve in the Second Half of the Year?

**Summary:** The discussion centers on recent Bitcoin price declines and the evolving financial strategy of MicroStrategy (MSTR). The core argument is that the primary pressure is not from one-off Bitcoin sales by MSTR, but from the market's new expectation that MSTR may need to engage in *sustained, small-scale* Bitcoin sales to cover cash flow obligations for its growing portfolio of preferred shares and debt instruments (like STRC). This shift is driven by its stated goal of maintaining "bitcoins per share neutrality." The market is now testing whether it can absorb this potential ongoing selling pressure without entering a severe "death spiral" with Bitcoin's price. A resolution may involve MSTR softening its approach to avoid damaging both its stock and Bitcoin. The conversation then explores the parallel rise of AI-related stocks. The guest posits that AI is fundamentally restructuring labor, with "tokens" (representing access to AI models/compute) becoming a new form of capital and a substitute for human execution. This drives corporate efficiency and profits, benefiting upstream hardware providers (semiconductors, data centers), which explains the sustained rally. This represents the early stages of a "machine economy." Regarding crypto exchanges offering US stock trading, this is seen as a natural evolution. With few crypto-native assets generating lasting value, exchanges are pivoting to distribute valuable real-world assets (RWAs). This doesn't necessarily harm crypto's long-term prospects, as blockchain infrastructure may become crucial for future machine-to-machine economies. The analysis concludes that the era of rampant altcoin speculation is likely over, heavily damaged by the liquidity shock of the "1011" event (likely referring to a major market crash). Meme-driven capital has largely migrated to US equities. Looking ahead, macroeconomic uncertainty is rising due to potential large IPOs (e.g., SpaceX) and the US elections. While short-term market corrections are possible, the long-term trends of AI-driven productivity gains and the maturation of blockchain towards real-world utility and institutional adoption remain intact.

marsbit52 dk önce

Will MicroStrategy Fall Into a Death Spiral? How Will the Macro Outlook Evolve in the Second Half of the Year?

marsbit52 dk önce

İşlemler

Spot
Futures
活动图片