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.

你可能也喜歡

英伟达CPU压境,中国RISC-V迎战:半导体深观察之四

英伟达即将向中国客户提供其首款专为AI设计的独立CPU Vera,基于Arm架构,单颗售价超2万美元。这凸显了中国在AI算力需求激增下,对CPU架构自主可控的迫切性。文章指出,除了x86和Arm,RISC-V正成为中国突破“不可能三角”(繁荣、可控、自主)的关键赛道。 RISC-V因其开源、模块化特性,被视为实现自主可控且有机会繁荣的路径。当前,中国已成为全球RISC-V发展的热点,受AI算力需求、出口管制压力、开源降本以及政策支持等多重因素推动。国内多家厂商的高性能RISC-V核心在SPEC定点跑分上已触及或超过15分的行业门槛,并实现了3GHz以上的主频,拿到了进入高性能计算俱乐部的“入场券”。 产业焦点已从单核性能转向完整的“计算子系统”,包括自研一致性片上网络(NoC)和满足数据中心要求的全栈RAS能力。已有厂商交付了40核、严格兼容RVA23国际标准的服务器处理器,体现了对生态统一性的重视。在视频编解码、加解密等特定负载上,部分国产RISC-V处理器已接近甚至超越x86/Arm同代产品。 挑战同样严峻。生态碎片化、EDA工具链不完善、验证复杂度高、单核能效追趕、以及先进工艺制约等都是必须啃下的“硬骨头”。业界清醒认识到,在数据中心领域超越成熟架构的周期将比预期更长。 结论是,面对英伟达Vera的敲门,中国自研CPU并非只有跟随Arm一条路。RISC-V赛道已在中国推开大门,并在高性能计算领域取得了实质性进展。虽然前路漫长,充满工程挑战,但它为中国提供了在下一轮算力革命中掌握主动权的可能性。

marsbit30 分鐘前

英伟达CPU压境,中国RISC-V迎战:半导体深观察之四

marsbit30 分鐘前

Stratosphere、Pudgy Penguins与Streamex于2026年ETHConf及纽约科技周期间举办创始人圆桌VIP晚宴

2026年6月9日,在ETHConf 2026和纽约科技周期间,Stratosphere、Pudgy Penguins和Streamex在纽约市联合举办了一场私密的“创始人桌”VIP晚宴,汇聚了数字资产、科技、人工智能、传统金融和机构资本领域的众多领导者。 此次仅限受邀者参加的晚宴,旨在将精选的创始人、运营商、基金、高管及机构领袖聚集一堂,在私密环境中促进自然交流。出席嘉宾包括来自花旗、BitMine、BitGo、未来资产证券(美国)、Experian、Pyth Network、Space and Time、MegaETH、B3、Stable、Antler、Delphi Digital、Fun、Linera、Vanta Trading、Streamex、PolyData、Horizen Labs、World Foundation、Zipcode、OpenLedger、Onyx、Definitive、Notalone Ventures等机构的代表。 晚宴由Stratosphere主办,Pudgy Penguins和Streamex联合举办。Stratosphere贡献了其广泛的创始人、运营商、投资者和机构网络;Pudgy Penguins带来了数字资产领域强大的消费品牌和社区;Streamex则聚焦于代币化黄金和大宗商品市场,引入了机构及现实世界资产的视角。 Stratosphere首席执行官哈桑·谢赫表示:“我对数字资产的下一阶段,尤其是商品代币化感到乐观。这类晚宴让我们能将基金、机构和创始人聚集在同一房间,探讨市场走向。”该“创始人桌”系列活动计划在全年主要全球会议期间持续举办,致力于在私密、以关系驱动的场合中连接创始人、资本、机构和领先品牌。 Stratosphere是一家服务于科技和金融行业领导者的生态合作伙伴与增长咨询公司。

TheNewsCrypto2 小時前

Stratosphere、Pudgy Penguins与Streamex于2026年ETHConf及纽约科技周期间举办创始人圆桌VIP晚宴

TheNewsCrypto2 小時前

Notion增长拆解:从一款笔记工具到1亿用户,Notion如何构建产品、模板与社区的三重增长飞轮

Notion的崛起并非依赖单点功能或强销售,而是构建了一个产品、模板与社区三重驱动的增长飞轮。其核心在于产品的高度“可塑性”,允许用户自由搭建工作系统,满足非标准化知识工作的需求。通过免费策略和产品自带的传播属性,Notion以PLG模式降低门槛,借助页面分享和协作邀请实现自然裂变。 模板生态是关键,它将产品的抽象能力转化为具体场景解决方案,降低了新用户激活成本,并通过用户生成内容覆盖海量细分场景,形成高效的搜索增长渠道和创作者经济。 社区则进一步将增长网络化,用户围绕Notion交流工作方法,形成身份认同。大使计划和本地化内容帮助其完成全球化扩张,使社区成为自我复制的增长引擎。 内容营销体系持续教育用户,拓展产品认知边界。其进入企业市场采取自下而上路径,凭借已有的内部用户基础降低销售阻力。AI能力的融入则提升了产品价值和模板的智能化,有望将Notion升级为AI时代的工作操作系统。 Notion的壁垒不在于功能,而在于其长期沉淀的用户知识资产、活跃的模板与创作者生态、以及深厚的社区文化所形成的综合增长系统,这使其从工具演变为一个不断自我强化的生态系统。

marsbit6 小時前

Notion增长拆解:从一款笔记工具到1亿用户,Notion如何构建产品、模板与社区的三重增长飞轮

marsbit6 小時前

交易

現貨
合約
活动图片