当前位置:网站首页>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?
边栏推荐
猜你喜欢
LED的C语言应用程序
How to carry out AI business diagnosis and quickly identify growth points for cost reduction and efficiency improvement?
Desthiobiotin衍生物Desthiobiotin-PEG4-Amine/Alkyne/Azide/DBCO
【AGC】构建服务1-云函数示例
【Web漏洞探索】跨站脚本漏洞
带你了解数据分布式存储原理
vscode离线安装插件方法
【TypeScript】深入学习TypeScript枚举
刷题-洛谷-P1200 你的飞碟在这儿Your Ride Is Here
2022年国内手机满意度榜单:华为稳坐国产品牌第一
随机推荐
vs Code 运行一个本地WEB服务器
Quantitative trading robot system development
String中的hashcode缓存以及HashMap中String作key的好处
如何推动乡村振兴的落地
基于Nodejs的电商管理平台的设计和实现
nr part calculation
微信小程序云开发 | 赠、删、改城市名称信息的应用实现
How to manually download and install SAP Fiori tools - Extension Pack for Visual Studio Code
jMeter Thread group 对应的 constant timer
图片延迟加载、预加载
SAP UI5 的初始化过程
搭建MyCat2双主双从的MySQL读写分离
Force KouTi (5), the longest text string back
C语言基础[通俗易懂]
如何使用 jMeter Parallel Controller - 并行控制器以及一些常犯的错误
使用 Chrome 开发者工具的 lighthouse 功能分析 web 应用的性能问题
致-.-- -..- -
CAS :80750-24-9(脱硫生物素 NHS 酯)
Go学习笔记(篇一)配置Go开发环境
awk 统计平均 最大 最小值