zk-AuthFeed: Protecting Data Feed to Smart Contracts With Authenticated Zero Knowledge Proof

被引:31
作者
Wan, Zhiguo [1 ]
Zhou, Yan [2 ]
Ren, Kui [3 ]
机构
[1] Zhejiang Lab, Hangzhou 311121, Zhejiang, Peoples R China
[2] Shandong Univ, Sch Comp Sci & Technol, Qingdao 266100, Shandong, Peoples R China
[3] Zhejiang Univ, Inst Cyberspace Res, Hangzhou 310058, Zhejiang, Peoples R China
基金
中国国家自然科学基金;
关键词
Smart contracts; Blockchains; Security; Data privacy; Privacy; Zero knowledge proof; Decentralized applications; Blockchain; smart contract; privacy; authenticated data; zero knowledge proof;
D O I
10.1109/TDSC.2022.3153084
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
The emerging blockchain technology, combined with the smart contract paradigm, is expected to transform traditional applications with decentralization. When the blockchain technology is applied to decentralize traditional applications, blockchain validators may need to take in sensitive off-chain data to execute a smart contract. On the one hand, decentralized applications (DApps) require authentic off-chain input data to correctly execute a given business procedure. On the other hand, users are reluctant to expose their sensitive privacy on the blockchain. For example, for a decentralized medical insurance DApp that takes as input personal health data, it is critical to guarantee authenticity and privacy of the data sent to the smart contract, such that the data can be verified by validators without leaking sensitive information. However, no satisfactory solution has been proposed to attain privacy and authenticity at the same time. In this work, we first present a highly efficient authenticated zero knowledge proof protocol called zk-DASNARK by extending the classical zk-SNARK scheme with data authentication. Based on zk-DASNARK, we design zk-AuthFeed, a zero-knowledge authenticated off-chain data feed scheme to achieve both data privacy and authenticity for blockchain-based DApps. Following the strategy of "compute off-chain and verify on-chain", zk-AuthFeed can significantly reduce computation cost of blockchain validators. We fully implement a prototype of zk-AuthFeed, and conduct comprehensive experiments on a medical insurance DApp. We consider 4 typical computation models for insurance premium/reimbursement in the experiments. It shows that zk-AuthFeed is highly efficient: key generation takes about 10 seconds only, proof generation takes less than 4 seconds, and proof verification takes less than 40 ms.
引用
收藏
页码:1335 / 1347
页数:13
相关论文
共 30 条
[1]   MiMC: Efficient Encryption and Cryptographic Hashing with Minimal Multiplicative Complexity [J].
Albrecht, Martin ;
Grassi, Lorenzo ;
Rechberger, Christian ;
Roy, Arnab ;
Tiessen, Tyge .
ADVANCES IN CRYPTOLOGY - ASIACRYPT 2016, PT I, 2016, 10031 :191-219
[2]  
[Anonymous], About us
[3]   ADSNARK: Nearly Practical and Privacy-Preserving Proofs on Authenticated Data [J].
Backes, Michael ;
Barbosa, Manuel ;
Fiore, Dario ;
Reischuk, Raphael M. .
2015 IEEE SYMPOSIUM ON SECURITY AND PRIVACY SP 2015, 2015, :271-286
[4]  
Ben-Sasson E, 2014, PROCEEDINGS OF THE 23RD USENIX SECURITY SYMPOSIUM, P781
[5]   Secure Sampling of Public Parameters for Succinct Zero Knowledge Proofs [J].
Ben-Sasson, Eli ;
Chiesa, Alessandro ;
Green, Matthew ;
Tromer, Eran ;
Virza, Madars .
2015 IEEE SYMPOSIUM ON SECURITY AND PRIVACY SP 2015, 2015, :287-304
[6]   Zerocash: Decentralized Anonymous Payments from Bitcoin [J].
Ben-Sasson, Eli ;
Chiesa, Alessandro ;
Garmant, Christina ;
Green, Matthew ;
Miers, Ian ;
Tromer, Eran ;
Virza, Madars .
2014 IEEE SYMPOSIUM ON SECURITY AND PRIVACY (SP 2014), 2014, :459-474
[7]  
Ben-Sasson E, 2013, LECT NOTES COMPUT SC, V8043, P90, DOI 10.1007/978-3-642-40084-1_6
[8]   Zether: Towards Privacy in a Smart Contract World [J].
Bunz, Benedikt ;
Agrawal, Shashank ;
Zamani, Mahdi ;
Boneh, Dan .
FINANCIAL CRYPTOGRAPHY AND DATA SECURITY, FC 2020, 2020, 12059 :423-443
[9]   Bulletproofs: Short Proofs for Confidential Transactions and More [J].
Bunz, Benedikt ;
Bootle, Jonathan ;
Boneh, Dan ;
Poelstra, Andrew ;
Wuille, Pieter ;
Maxwell, Greg .
2018 IEEE SYMPOSIUM ON SECURITY AND PRIVACY (SP), 2018, :315-334
[10]  
Buterin V., 2014, ETHEREUM NEXT GENERA