ZKCPlus: Optimized Fair-exchange Protocol Supporting Practical and Flexible Data Exchange
Authors:
Open Access
- 12 November 2021
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 3002-3021
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.Keywords
Funding Information
- National Natural Science Foundation of China (U1736209)
- DARPA (HR001120C0087)
- HashKey (61972224)
- BNRist Network and Software Security Research Program (BNR2019TD01004,BNR2019RC01009)
- Nervos Foundation (61772308)
This publication has 31 references indexed in Scilit:
- MiMC: Efficient Encryption and Cryptographic Hashing with Minimal Multiplicative Complexity2016
- Efficient Zero-Knowledge Proof of Algebraic and Non-Algebraic Statements with Applications to Privacy Preserving Credentials2016
- On the Size of Pairing-Based Non-interactive Arguments2016
- Pinocchio: Nearly Practical Verifiable Computation2013
- Quadratic Span Programs and Succinct NIZKs without PCPs2013
- Linear Algebra with Sub-linear Zero-Knowledge Arguments2009
- Founding Cryptography on Oblivious Transfer – Efficiently2008
- Zero-knowledge from secure multiparty computation2007
- Gradient-based learning applied to document recognitionProceedings of the IEEE, 1998
- On the Evaluation of Powers and MonomialsSIAM Journal on Computing, 1980