ZeeStar: Private Smart Contracts by Homomorphic Encryption and Zero-knowledge Proofs

被引:0
作者
Steffen, Samuel [1 ]
Bichsel, Benjamin [1 ]
Baumgartner, Roger [1 ]
Vechev, Martin [1 ]
机构
[1] Swiss Fed Inst Technol, Zurich, Switzerland
来源
43RD IEEE SYMPOSIUM ON SECURITY AND PRIVACY (SP 2022) | 2022年
关键词
Privacy; Blockchain; Smart contracts; Ethereum; Programming language; Zero-knowledge proofs; Homomorphic encryption; Compilation;
D O I
10.1109/SP46214.2022.00114
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Data privacy is a key concern for smart contracts handling sensitive data. The existing work zkay addresses this concern by allowing developers without cryptographic expertise to enforce data privacy. However, while zkay avoids fundamental limitations of other private smart contract systems, it cannot express key applications that involve operations on foreign data. We present ZeeStar, a language and compiler allowing non-experts to instantiate private smart contracts and supporting operations on foreign data. The ZeeStar language allows developers to ergonomically specify privacy constraints using zkay's privacy annotations. The ZeeStar compiler then provably realizes these constraints by combining non-interactive zero-knowledge proofs and additively homomorphic encryption. We implemented ZeeStar for the public blockchain Ethereum. We demonstrated its expressiveness by encoding 12 example contracts, including oblivious transfer and a private payment system like Zether. ZeeStar is practical: it prepares transactions for our contracts in at most 54.7 s, at an average cost of 339 k gas.
引用
收藏
页码:179 / 197
页数:19
相关论文
共 50 条
  • [11] Leveraging Zero-Knowledge Proofs for Blockchain Interoperability: Experiences with Ethereum and Hyperledger Fabric
    Martinez, Santiago
    Ameigenda, Agustin
    de Banos, Braian
    Llambias, Guzman
    Gonzalez, Laura
    Ruggia, Raid
    2024 L LATIN AMERICAN COMPUTER CONFERENCE, CLEI 2024, 2024,
  • [12] ZGridBC: Zero-Knowledge Proof based Scalable and Private Blockchain Platform for Smart Grid
    Miyamae, Takeshi
    Kozakura, Fumihiko
    Nakamura, Makoto
    Zhang, Shenbin
    Hua, Song
    Pi, Bingfeng
    Morinaga, Masanobu
    2021 IEEE INTERNATIONAL CONFERENCE ON BLOCKCHAIN AND CRYPTOCURRENCY (ICBC), 2021,
  • [13] Round-optimal zero-knowledge proofs of knowledge for NP
    Li HongDa
    Feng DengGuo
    Li Bao
    Xue HaiXia
    SCIENCE CHINA-INFORMATION SCIENCES, 2012, 55 (11) : 2473 - 2484
  • [14] Round-optimal zero-knowledge proofs of knowledge for NP
    HongDa Li
    DengGuo Feng
    Bao Li
    HaiXia Xue
    Science China Information Sciences, 2012, 55 : 2473 - 2484
  • [15] Round-optimal zero-knowledge proofs of knowledge for NP
    LI HongDa1
    2State Key Lab of Information Security
    ScienceChina(InformationSciences), 2012, 55 (11) : 2473 - 2484
  • [16] SZKP: A Scalable Accelerator Architecture for Zero-Knowledge Proofs
    Daftardar, Alhad
    Reagen, Brandon
    Garg, Siddharth
    PROCEEDINGS OF THE 2024 THE INTERNATIONAL CONFERENCE ON PARALLEL ARCHITECTURES AND COMPILATION TECHNIQUES, PACT 2024, 2024, : 271 - 283
  • [17] Post-Quantum Zero-Knowledge Proofs and Applications
    Steinfeld, Ron
    PROCEEDINGS OF THE 10TH ACM ASIA PUBLIC-KEY CRYPTOGRAPHY WORKSHOP, APKC 2023, 2023, : 1 - 1
  • [18] GROUP COMMITMENT PROTOCOL BASED ON ZERO-KNOWLEDGE PROOFS
    WU, TC
    WU, TS
    COMPUTER COMMUNICATIONS, 1995, 18 (09) : 654 - 656
  • [19] ROUND-OPTIMAL PERFECT ZERO-KNOWLEDGE PROOFS
    DICRESCENZO, G
    PERSIANO, G
    INFORMATION PROCESSING LETTERS, 1994, 50 (02) : 93 - 99
  • [20] Security and privacy using one-round zero-knowledge proofs
    Almuhammadi, S
    Neuman, C
    CEC 2005: SEVENTH IEEE INTERNATIONAL CONFERENCE ON E-COMMERCE TECHNOLOGY, PROCEEDINGS, 2005, : 435 - 438