zk-AuthFeed: How to Feed Authenticated Data into Smart Contract with Zero Knowledge

Z. Wan, Zhangshuang Guan, Yan Zhou, K. Ren
{"title":"zk-AuthFeed: How to Feed Authenticated Data into Smart Contract with Zero Knowledge","authors":"Z. Wan, Zhangshuang Guan, Yan Zhou, K. Ren","doi":"10.1109/Blockchain.2019.00020","DOIUrl":null,"url":null,"abstract":"The emerging blockchain technology, powered by the smart contract functionality, is expected to revolutionize traditional systems by decentralization and autonomy. When the blockchain technology is applied in real-life systems, a smart contract may need to take in sensitive data to execute its code. For example, a decentralized medical insurance smart contract needs access to personal health data. Therefore, it is crucial to guarantee both privacy and authenticity of data sent to the smart contract, so that everyone can verify data without leaking sensitive information. Currently, only few works have tried to achieve privacy and authenticity at the same time. In this work, we first propose zk-DASNARK, a zero-knowledge SNARK scheme for authenticated data. It is designed by combining the zk-SNARK technique with digital signature in an effective way. Based on zk-DASNARK, we design zk-AuthFeed, a zero-knowledge authenticated data feed scheme to achieve both data privacy and authenticity for smart contract. We implement zk-AuthFeed and conduct comprehensive experiments on Ethereum. The experiments show that zk-AuthFeed is highly efficient: key generation takes about 7 seconds only, proof generation takes less than 2 seconds, and proof verification takes less than 40 ms.","PeriodicalId":221068,"journal":{"name":"2019 IEEE International Conference on Blockchain (Blockchain)","volume":"13 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2019-07-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"10","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2019 IEEE International Conference on Blockchain (Blockchain)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/Blockchain.2019.00020","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 10

Abstract

The emerging blockchain technology, powered by the smart contract functionality, is expected to revolutionize traditional systems by decentralization and autonomy. When the blockchain technology is applied in real-life systems, a smart contract may need to take in sensitive data to execute its code. For example, a decentralized medical insurance smart contract needs access to personal health data. Therefore, it is crucial to guarantee both privacy and authenticity of data sent to the smart contract, so that everyone can verify data without leaking sensitive information. Currently, only few works have tried to achieve privacy and authenticity at the same time. In this work, we first propose zk-DASNARK, a zero-knowledge SNARK scheme for authenticated data. It is designed by combining the zk-SNARK technique with digital signature in an effective way. Based on zk-DASNARK, we design zk-AuthFeed, a zero-knowledge authenticated data feed scheme to achieve both data privacy and authenticity for smart contract. We implement zk-AuthFeed and conduct comprehensive experiments on Ethereum. The experiments show that zk-AuthFeed is highly efficient: key generation takes about 7 seconds only, proof generation takes less than 2 seconds, and proof verification takes less than 40 ms.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
zk-AuthFeed:如何将认证数据馈送到零知识智能合约中
以智能合约功能为动力的新兴区块链技术有望通过去中心化和自治来彻底改变传统系统。当区块链技术应用于现实生活系统时,智能合约可能需要接收敏感数据来执行其代码。例如,去中心化的医疗保险智能合约需要访问个人健康数据。因此,保证发送给智能合约的数据的隐私性和真实性至关重要,这样每个人都可以在不泄露敏感信息的情况下验证数据。目前,只有少数作品试图同时实现隐私和真实性。在这项工作中,我们首先提出了zk- dasark,一种用于认证数据的零知识SNARK方案。它是通过将zk-SNARK技术与数字签名有效结合而设计的。基于zk-DASNARK,我们设计了一种零知识认证数据馈送方案zk-AuthFeed,以实现智能合约的数据保密性和真实性。我们在以太坊上实现了zk-AuthFeed,并进行了全面的实验。实验表明,zk-AuthFeed具有很高的效率:密钥生成时间约为7秒,证明生成时间小于2秒,证明验证时间小于40毫秒。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Contract-Based Approach for Security Deposit in Blockchain Networks with Shards OpBench: A CPU Performance Benchmark for Ethereum Smart Contract Operation Code Ownership Preserving AI Market Places Using Blockchain Smart Contract Defense through Bytecode Rewriting A Hybrid Blockchain Architecture for Privacy-Enabled and Accountable Auctions
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1