Full proof cryptography: verifiable compilation of efficient zero-knowledge protocols
Abstract
Developers building cryptography into security-sensitive applications face a daunting task. Not only must they understand the security guarantees delivered by the constructions they choose, they must also implement and combine them correctly and efficiently. Cryptographic compilers free developers from this task by turning high-level specifications of security goals into efficient implementations. Yet, trusting such tools is hard as they rely on complex mathematical machinery and claim security properties that are subtle and difficult to verify. In this paper we present ZKCrypt, an optimizing cryptographic compiler achieving an unprecedented level of assurance without sacrificing practicality for a comprehensive class of cryptographic protocols, known as Zero-Knowledge Proofs of Knowledge. The pipeline of ZKCrypt integrates purpose-built verified compilers and verifying compilers producing formal proofs in the CertiCrypt framework. By combining the guarantees delivered by each stage, ZKCrypt provides assurance that the output implementation securely realizes the abstract proof goal given as input. We report on the main characteristics of ZKCrypt, highlight new definitions and concepts at its foundations, and illustrate its applicability through a representative example of an anonymous credential system
BibTeX
@article{almeida2012full,
author = {José Bacelar Almeida and Manuel Barbosa and Endre Bangerter and Gilles Barthe and Stephan Krenn and Santiago Zanella Béguelin},
title = {{Full proof cryptography: verifiable compilation of efficient zero-knowledge protocols}},
journal = {IACR Cryptol. ePrint Arch.},
year = {2012},
}Ask Althea to put this paper to the test.
| Bounded Verification for Finite-Field-Blasting - In a Compiler for Zero Knowledge Proofs | Cav · 2023 |
| A Proof-Producing Compiler for Blockchain Applications | J. Autom. Reason · 2025 |
| Computational Soundness of Symbolic Zero-Knowledge Proofs: Weaker Assumptions and Mechanized Verification | IACR ePrint · 2012 |
| Formalising Σ-Protocols and Commitment Schemes using CryptHOL | IACR ePrint · 2019 |
| Simple High-Level Code for Cryptographic Arithmetic - With Proofs, Without Compromises | IEEE Symposium on Security and Privacy · 2019 |
| From Evaluation to Enhancement: Large Language Models for Zero-Knowledge Proof Code Generation | arXiv · 2025 |