SoK:理解 zk-SNARK——研究与实践之间的差距
SoK: Understanding zk-SNARKs: The Gap Between Research and Practice
AI总结:
本文系统调研了 zk-SNARK 从理论到实践的现状,提出统一主配方并对 40 余种方案和 11 个通用库进行分类分析,揭示学术界侧重证明系统而工业界受限于约束系统的差距,并给出改进建议。
摘要:
零知识简洁非交互式知识论证(zk-SNARK)是证明计算正确性的强大工具,吸引了研究者、开发者和用户的极大兴趣。然而,zk-SNARK 的复杂性在这些群体之间造成了差距,阻碍了进展。研究者专注于构建具有更强安全性和新性质的高效证明系统,而开发者和用户则优先考虑工具链、可用性和兼容性。\n在本文中,我们对 zk-SNARK 进行了从理论到实践的全面研究,并指出了差距和局限性。我们首先提出一个主配方,统一了将程序转换为 zk-SNARK 的主要步骤。然后,我们根据关键技术对现有 zk-SNARK 进行分类。我们的分类解决了现有 zk-SNARK 方案之间在实际有价值性质上的主要差异。我们调查了自 2013 年以来的 40 多个 zk-SNARK,并提供了一个参考表,列出它们的类别和性质。按照主配方中的步骤,我们随后调查了 11 个通用的流行库。我们详细阐述了这些库的可用性、兼容性、效率和局限性。由于安装和执行这些 zk-SNARK 系统具有挑战性,我们还提供了一个完全虚拟的环境,可以在其中为每个系统运行编译器。我们发现证明系统是密码学学术界的主要关注点。相比之下,约束系统在工业界构成了瓶颈。为了弥合这一差距,我们提出了建议,并倡导开源社区加强文档、标准化和兼容性。
英文摘要:
Zero-knowledge succinct non-interactive arguments of knowledge (zk-SNARKs) are a powerful tool for proving computation correctness, attracting significant interest from researchers, developers, and users. However, the complexity of zk-SNARKs has created gaps between these groups, hindering progress. Researchers focus on constructing efficient proving systems with stronger security and new properties, while developers and users prioritize toolchains, usability, and compatibility. In this work, we provide a comprehensive study of zk-SNARK, from theory to practice, pinpointing gaps and limitations. We first present a master recipe that unifies the main steps in converting a program into a zk-SNARK. We then classify existing zk-SNARKs according to their key techniques. Our classification addresses the main difference in practically valuable properties between existing zk-SNARK schemes. We survey over 40 zk-SNARKs since 2013 and provide a reference table listing their categories and properties. Following the steps in master recipe, we then survey 11 general-purpose popular used libraries. We elaborate on these libraries' usability, compatibility, efficiency and limitations. Since installing and executing these zk-SNARK systems is challenging, we also provide a completely virtual environment in which to run the compiler for each of them. We identify that the proving system is the primary focus in cryptography academia. In contrast, the constraint system presents a bottleneck in industry. To bridge this gap, we offer recommendations and advocate for the opensource community to enhance documentation, standardization and compatibility.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。