Skip to main navigation Skip to search Skip to main content

ZKCPlus: Optimized Fair-exchange Protocol Supporting Practical and Flexible Data Exchange

  • Yun Li
  • , Cun Ye
  • , Yuguang Hu
  • , Ivring Morpheus
  • , Yu Guo
  • , Chao Zhang*
  • , Yupeng Zhang
  • , Zhipeng Sun
  • , Yiwen Lu
  • , Haodi Wang
  • *Corresponding author for this work

Research output: Chapters, Conference Papers, Creative and Literary WorksRGC 32 - Refereed conference paper (with host publication)peer-review

Abstract

Devising a fair-exchange protocol for digital goods has been an appealing line of research in the past decades. The Zero-Knowledge Contingent Payment (ZKCP) protocol first achieves fair exchange in a trustless manner with the aid of the Bitcoin network and zero-knowledge proofs. However, it incurs setup issues and substantial proving overhead, and has difficulties handling complicated validation of large-scale data.

In this paper, we propose an improved solution ZKCPlus for practical and flexible fair exchange. ZKCPlus incorporates a new commit-and-prove non-interactive zero-knowledge (CP-NIZK) argument of knowledge under standard discrete logarithmic assumption, which is prover-efficient for data-parallel computations. With this argument we avoid the setup issues of ZKCP and reduce seller's proving overhead, more importantly enable the protocol to handle complicated data validations.

We have implemented a prototype of ZKCPlus and built several applications atop it. We rework a ZKCP's classic application of trading sudoku solutions, and ZKCPlus achieves 21-67 times improvement in seller efficiency than ZKCP, with only milliseconds of setup time and 1 MB public parameters. In particular, our CP-NIZK argument shows an order of magnitude higher proving efficiency than the zkSNARK adopted by ZKCP. We also built a realistic application of trading trained CNN models. For a 3-layer CNN containing 8,620 parameters, it takes less than 1 second to prove and verify an inference computation, and also about 1 second to deliver the parameters, which is very promising for practical use.

© 2021 Copyright held by the owner/author(s). Publication rights licensed to ACM.
Original languageEnglish
Title of host publicationCCS '21
Subtitle of host publicationProceedings of the 2021 ACM SIGSAC Conference on Computer and Communications Security
PublisherAssociation for Computing Machinery
Pages3002-3021
Number of pages20
ISBN (Print)978-1-4503-8454-4
DOIs
Publication statusPublished - Nov 2021
Externally publishedYes
Event27th ACM Annual Conference on Computer and Communication Security (CCS 2021) - Virtual, Korea, Republic of
Duration: 15 Nov 202119 Nov 2021

Publication series

NameProceedings of the ACM Conference on Computer and Communications Security
ISSN (Print)1543-7221

Conference

Conference27th ACM Annual Conference on Computer and Communication Security (CCS 2021)
Abbreviated titleACM CCS 2021
PlaceKorea, Republic of
Period15/11/2119/11/21

Funding

This work was supported by: donations from Nervos Foundation and HashKey, National Natural Science Foundation of China under Grant 61772308, 61972224 and U1736209, and BNRist Network and Software Security Research Program under Grant BNR2019TD01004 and BNR2019RC01009. Yupeng Zhang is supported by DARPA under Contract No. HR001120C0087. Any opinions, findings and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of DARPA.

Research Keywords

  • commit-and-prove
  • fair exchange
  • zero-knowledge argument

Fingerprint

Dive into the research topics of 'ZKCPlus: Optimized Fair-exchange Protocol Supporting Practical and Flexible Data Exchange'. Together they form a unique fingerprint.

Cite this