当前位置:网站首页>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?
边栏推荐
- 面试官:JVM运行时数据区包含哪几部分?作用是啥?
- Embrace the Cmake child is simple and practical, but inflexible
- vscode离线安装插件方法
- 在vs code中进行本地调试和开启本地服务器
- SAP UI5 ensures that the control id is globally unique implementation method
- How to manually download and install SAP Fiori tools - Extension Pack for Visual Studio Code
- 密码学系列之:PEM和PKCS7,PKCS8,PKCS12
- 【着色器实现Glitch单项故障闪烁效果(与Television效果不同)_Shader效果第十四篇】
- 对比几类主流的跨端技术方案
- PriorityQueue类的使用及底层原理
猜你喜欢
随机推荐
【Web漏洞探索】跨站脚本漏洞
腾讯云胡启明:Kubernetes云上资源的分析与优化
华为交换机:STP测试实验
【SQL】触发器同步表数据
面试官:索引为什么会失效?
zynq 记录
Order of lds links
v-model的使用
Aura clock chip generation configuration file script
MySQL字段类型
Go study notes (Part 1) Configuring the Go development environment
AWS SES 的监控和告警
数据安全解决方案的发展
华为WLAN技术:AP上线及相关模板的配置实验
电脑一键重装系统内存完整性无法打开怎么办
nr part calculation
动态数组底层是如何实现的
基于HDF的LED驱动程序开发(2)
Desthiobiotin衍生物Desthiobiotin-PEG4-Amine/Alkyne/Azide/DBCO
Apache服务器配置多个站点