当前位置:网站首页>Zero-knowledge proof notes - private transaction, pederson, interval proof, proof of ownership
Zero-knowledge proof notes - private transaction, pederson, interval proof, proof of ownership
2022-08-04 20:04:00 【Looking Back at the White Speed Dragon King】
Notes are organized from Steven Yue
pederson Commitment
Hide the data itself to prove the relationship of the data
Others can't see the real transaction volume, but can verify the input and output
Proof of Scope
In order to ensure that there are no negative numbers in the transaction (illegal money printing)
A range proof is required
SNARK (Short Non-Interactive Proof)
1. Determine the finite field F
2. Build a mathematical operation circuit, the logic gate is built from the operation gate
3. Convert to provable mathematical operation circuit
w, also known as witness, is only known to the party who proves it, and is the answer to the party who actually submitted the proof
Step 4: Non-interactive short proof system
setup: The parameters of Sp to the prover, and the parameters of Sv to the verifier
prove: The prover uses Prove(Sp,x,w) to generate pi and send it toVerifier
verify: Verify(Sv, x, pi) outputs Yes/No
Privacy Transaction Three Proofs
SNARK implements interval proofs
Prove that a number w is between 0-2^256
Divide it into binary and prove that each bit is either 1 or 0
This number is a positive integer that can be represented by a 255-bit binary number.
These 255-bit binary numbers are indeed binary numbers.(It can only take the value 0 or 1)
These 255-bit binary numbers are all put together to restore the input numbers.
SNARK implements proof of ownership
Prove the account balance of the transaction initiator in the world state
Submit a merkle commit on someone's Merkle path, but calculating the commit will reveal the balance
snark proof balance hash
youHow to know if it is actually hashed?How can you prove that you really hashed it?
边栏推荐
猜你喜欢
Desthiobiotin衍生物Desthiobiotin-PEG4-Amine/Alkyne/Azide/DBCO
2022年国内手机满意度榜单:华为稳坐国产品牌第一
Go study notes (Part 1) Configuring the Go development environment
电脑一键重装系统后连不上远程了?教你设置的方法
How to carry out AI business diagnosis and quickly identify growth points for cost reduction and efficiency improvement?
vscode离线安装插件方法
华为交换机:STP测试实验
刷题-洛谷-P1317 低洼地
刷题-洛谷-P1307 数字反转
Tensorflow2 环境搭建
随机推荐
idea源码无法下载
常用正则表达式[通俗易懂]
To -.-- -..- -
对比几类主流的跨端技术方案
数据安全解决方案的发展
刷题-洛谷-P1317 低洼地
C#移动OA办公系统源码(基于微信企业号)
JS手写JSON.stringify() (面试)
多用户同时远程登录连接到一台服务器
基于Nodejs的电商管理平台的设计和实现
密码学系列之:PEM和PKCS7,PKCS8,PKCS12
June To -.-- -..- -
动态数组底层是如何实现的
格密码入门
蚂蚁集团时序数据库CeresDB正式开源
零知识证明——zkSNARK证明体系
电脑一键重装系统内存完整性无法打开怎么办
EasyUi常用代码
mysql的存储过程介绍、创建、案例、删除、查看「建议收藏」
Chrome 开发者工具 performance 标签页的用法