What is Zero-Knowledge Proofs?

mediumОпубликовано 2022-08-01Обновлено 2022-08-01

Введение

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.

Похожее

More and More People Are Using Xiaohongshu as an AI Incubator

"More and more people are turning Xiaohongshu into an AI incubator," observes an article exploring a shift in China’s tech innovation landscape. The AI wave is no longer dominated by experienced tech experts; instead, young people—often with humanities backgrounds, and increasingly Gen Z or even younger—are driving creativity. This reflects a broader trend: AI is transforming entrepreneurship from a capital-heavy, top-down model into a lightweight, accessible process. The rise of "AI Native" creators was highlighted at a recent Xiaohongshu hackathon, where diverse teams showcased projects targeting highly specific, everyday problems—from AI-generated PPT improvements to brain-controlled wheelchairs and apps that simplify communication with hairstylists. The winning project, "Pocket Guitar," offers a portable, user-friendly music tool that mimics real guitar playing. These innovators embrace a "Build in Public" approach: they share ideas, progress, and failures openly on Xiaohongshu, turning development into a collaborative, community-driven process. This method helps validate demand, recruit team members, and grow user bases organically. For instance, one 23-year-old founder assembled a distributed team through technical discussions on the platform, while a 13-year-old award winner used AI to learn coding and solve real-world problems. Two key factors enable this movement: AI democratization (lowering technical barriers) and the power of social communities (enabling open collaboration and instant feedback). Xiaohongshu, originally a lifestyle and shopping guide platform, has thus evolved into a vital innovation infrastructure. It connects creators with real user needs, facilitates low-cost prototyping, and fosters a culture of co-creation. This shift signals a new era of innovation—defined not by grand narratives and scale, but by granular insights, individual creativity, and trust-based community support. Xiaohongshu’s role is expanding from answering "what to buy" to "what to create," positioning it as a potential "App Store for the AI era."

marsbit1 ч. назад

More and More People Are Using Xiaohongshu as an AI Incubator

marsbit1 ч. назад

Торговля

Спот
Фьючерсы
活动图片