Proving Without Revealing: Zero-Knowledge Proofs from Ali Baba's Cave to zk-SNARKs
🎧 Listen to this article
IT-Security · 2026-08-17
Fully AI-generated article (no prior review).
The Hook: The Proof That Gives Nothing Away
Imagine you want to prove to someone that you know a password—but you refuse, at any cost, to reveal the password itself. Or you want to prove to a bank that your account balance exceeds ten thousand euros, without naming the exact figure. Or you want to prove to an online service that you are of legal age, without showing your date of birth, your name, or even your ID card. At first glance this sounds like a logical contradiction: a proof exists precisely to transmit information. How can you prove something without revealing anything?
Modern cryptography's astonishing answer is: you can. And not just a little, but in a mathematically precise, almost extreme sense. A zero-knowledge proof is a procedure by which one party—the prover, traditionally called Peggy—can convince another party—the verifier, Victor—of the truth of a statement, such that Victor ends up fully convinced of the truth but learns not a single bit beyond it. Nothing about the password, nothing about the balance, nothing he didn't already know. The only increase in knowledge Victor takes away is the bare fact: "The statement is true."
This idea was introduced in 1985 by Shafi Goldwasser, Silvio Micali, and Charles Rackoff in a paper with the unwieldy title The Knowledge Complexity of Interactive Proof-Systems—a paper that was initially rejected by several conferences and is today regarded as one of the founding documents of modern theoretical cryptography. Goldwasser and Micali received the 2012 Turing Award, computer science's "Nobel Prize," for this and related work. Four decades later, the abstract thought experiment has become a technology that secures billions of euros in cryptocurrencies, scales the Ethereum network, and is slowly making its way into digital identity documents.
For someone like Sven—a senior AI engineer with a foothold in IT security—zero-knowledge proofs are a prime example of how a deep theoretical insight (that "knowledge" itself is quantifiable and that proofs can be decoupled from information) matures over decades into concrete, billion-dollar practice. This article takes you along the entire route: from the intuitive cave of Ali Baba, through the three mathematical properties that define a zero-knowledge proof and concrete protocols, to the explosive development of the zk-SNARKs and zk-STARKs that have been upending the blockchain world and beyond for roughly a decade—and finally to the pitfalls you must know in order not to deploy them catastrophically wrong.
Part 1: What a Proof Must Actually Deliver – The Three Properties
Before we talk about zero knowledge, we must clarify what an interactive proof even is—for that is the real conceptual innovation of Goldwasser, Micali, and Rackoff.
Mathematics' classical, static notion of proof is a text: a chain of inferences that you write down once and that any verifier can silently read through. The interactive notion of proof is something different—it is a dialogue. Peggy and Victor exchange messages over several rounds, and Victor is allowed to use randomness: he rolls dice and asks Peggy questions whose outcome she could not have foreseen. At the end, Victor decides whether he is convinced. It is precisely this randomness and this interaction that provide the leverage which makes the seemingly impossible possible.
An interactive proof system qualifies as a zero-knowledge proof if it satisfies three properties worth memorizing, for they are the skeleton of the entire field.
The first property is completeness. It states: If the statement is true and both parties follow the protocol, then Victor ends up convinced. An honest Peggy, who really knows the secret, can therefore always convince Victor successfully. This is the self-evident minimum requirement—a proof system that fails to admit true statements would be useless.
The second property is soundness. It is the genuinely difficult direction: If the statement is false, then no matter how cunning and deceitful Peggy is, she cannot convince Victor—except with vanishingly small probability. This is where randomness comes into play. In a single run, a cheat might get lucky and slip through—say, with probability one half if Victor asks a yes/no question. But if you repeat the run independently many times, the cheat's chances shrink exponentially: after twenty repetitions they are below one in a million, after forty below one in a trillion. You can therefore drive the error probability arbitrarily low without ever reducing it exactly to zero. This statistical security is a hallmark of the field.
The third property is the real point: zero knowledge. It states: Victor learns nothing from the entire dialogue that he could not have computed on his own—other than the fact that the statement is true. How do you formalize an idea as slippery as "learning nothing"? The ingenious trick of Goldwasser, Micali, and Rackoff is called the simulator argument. One demands: there must exist an efficient computer program (the simulator) that—without knowing the secret—can produce conversation transcripts that are indistinguishable from real conversations between Peggy and Victor. The logic behind this is compelling: if an outside observer cannot tell a forged transcript (produced by the simulator, entirely without the secret) apart from a real one (produced with the secret), then the real transcript cannot possibly contain information about the secret. Because everything Victor sees, he could have simulated for himself. The conversation is, in the literal sense, information-empty.
These three properties—completeness, soundness, zero knowledge—are the seal of quality. Miss the first, and the proof is useless; miss the second, and it is insecure; miss the third, and it is still a proof, but not a zero-knowledge proof. Let us keep this in mind as we descend into the most famous illustration of the whole thing.
Part 2: The Cave of Ali Baba
The most beautiful and most-cited explanation of the zero-knowledge principle comes from a wonderfully titled 1989 paper: How to Explain Zero-Knowledge Protocols to Your Children by Jean-Jacques Quisquater, Louis Guillou and—listed as co-authors—their respective children. It tells the story of the ring-shaped cave of Ali Baba.
Imagine a circular cave with a single entrance. Shortly beyond the entrance, the passage forks into two paths, a left one (A) and a right one (B), which rejoin at the back of the circle. At the rear junction, however, stands a magic door that can be opened only with a secret magic word. Peggy claims to know this magic word. She wants to prove it to Victor—but she refuses to reveal the word itself, and, more than that: she does not even want any chance passerby to be convinced, for her knowledge is precious.
The protocol runs like this. Victor waits outside, out of sight of the fork. Peggy enters the cave and secretly chooses one of the two passages, A or B. Then Victor steps up to the fork and shouts out loud which passage Peggy should emerge from—likewise chosen at random, say "B." Now there are two cases. If Peggy knows the magic word, she can always appear from the requested passage: if she is already in B, she simply walks back; if she is in A, she passes through the magic door and comes out in B. If she does not know the word, she can only come out correctly if she happened to be standing in the right passage from the start—that is, with probability one half.
A single run proves little: a fraud has a fifty-fifty chance. But if you repeat the game twenty times, and Peggy emerges from the correct passage every time, then a cheat would have had to guess correctly twenty times in a row—a chance of one in over a million. Past a certain number of rounds, Victor is rationally fully convinced. This is soundness in pictures: cheating becomes exponentially improbable through repetition.
And the zero-knowledge property? You recognize it in a delightful thought experiment. Suppose Victor secretly films the whole affair with a camera, in order to prove later to a friend that Peggy knows the word. The video shows: Peggy disappears, Victor calls a passage, Peggy appears there—twenty times in a row, correctly. Convincing? To Victor himself, yes, because he knows that he called the passages randomly and unpredictably. But the friend who watches the video later is by no means convinced. For Peggy and Victor could have secretly colluded: Victor calls out pre-agreed passages, and Peggy positions herself accordingly beforehand. Such a rigged video is indistinguishable from a real one—it looks exactly the same. This is precisely the simulator argument in the flesh: you can produce a perfectly authentic-looking "proof video" without knowing the word. Consequently, the video contains no information whatsoever about the word. The real protocol convinces only the person who controlled the random calls himself, and is worthless to any third party—and therein lies its very strength: it transmits conviction, but no transferable knowledge.
The cave thus illustrates all three properties: a knower always gets through (completeness), an ignoramus is almost certainly exposed over many rounds (soundness), and the recorded proceedings are simulable without participation and hence information-empty (zero knowledge). What still looks like a parlor game in the metaphor becomes, in the next step, real mathematics.
Part 3: A Real Protocol – From Quadratic Residues to Schnorr
The cave is a metaphor. To turn it into cryptography, you need a mathematical problem to play the role of the "magic word": something easy to verify but hard to guess. This is exactly where the real protocols begin, and two of them merit a closer look, because they show how intuition turns into number magic.
The first rests on a number-theoretic problem that Goldwasser, Micali, and Rackoff already used as an example in their original paper: quadratic residuosity. For a large composite number n (the product of two secret primes), a number y is called a quadratic residue modulo n if there exists an x with x² congruent to y (modulo n). Without knowing the prime factors of n, it is practically impossible to decide whether a given y is such a square—this "quadratic residuosity problem" is considered hard. Peggy knows a square root x of y and wants to prove that y is a square without disclosing x. The protocol follows exactly the cave rhythm: Peggy sends a randomly "blinded" value (her commitment), Victor poses an unpredictable yes/no question (the challenge), Peggy answers, and the answer only works out if she really knows x. A cheat can at most "prepare" one of the two possible questions in advance and is exposed on the other with probability one half. Repetition drives the cheating chance arbitrarily low. This commit–challenge–response pattern—"commit, challenge, answer"—is the universal skeleton of nearly all interactive zero-knowledge protocols. The efficient Feige-Fiat-Shamir identification scheme of 1988 also grew out of it.
The second protocol, perhaps the most important in practice, is the Schnorr protocol (Claus-Peter Schnorr, 1989/1991). It proves knowledge of a discrete logarithm: in a suitable mathematical group, it is easy to compute the public value g^w from a secret exponent w, but practically impossible to recover the exponent w from g^w (the "discrete logarithm problem," the same hardness on which Diffie-Hellman and ECDSA rest). Peggy proves that she knows the secret key w corresponding to the public key g^w, without naming w. The flow is again commit–challenge–response: Peggy picks a fresh random value r and sends g^r (commitment); Victor sends a random challenge c; Peggy answers with s = r + c·w; Victor checks a single equation that works out precisely when Peggy knows w. The random value r "masks" w perfectly—from s alone one cannot compute w, because r is unknown. The Schnorr protocol is so lean and elegant that to this day it forms the heart of countless identification and signature schemes; Schnorr signatures, for instance, have been an integral part of Bitcoin since the 2021 Taproot upgrade.
These protocols are often called sigma protocols—because of the three messages whose course graphically resembles the letter Σ. They are the workhorses of the interactive zero-knowledge world: mathematically understood, efficient, and—as we shall see shortly—the raw material from which, with a clever trick, non-interactive proofs and signatures can be forged. But first, perhaps the most consequential theoretical insight of the entire field.
Part 4: Everything in NP – Why Every Truth Can Be Proven
Up to here you might think zero knowledge is a niche trick for a handful of hand-picked number-theoretic problems: quadratic residues, discrete logarithms. The real thunderclap came in 1986/87 from Oded Goldreich, Silvio Micali, and Avi Wigderson (GMW for short). Their result is so fundamental that it set the direction of the entire field: For every statement whose truth can be efficiently verified at all—that is, for every statement in the complexity class NP—a zero-knowledge proof exists, provided only that one-way functions exist (an assumption on which all of practical cryptography rests anyway).
Why is this so enormous? NP is the class of all problems whose solution can be quickly verified once it is handed to you—and that encompasses a vast portion of all practically interesting statements: "This Sudoku has a solution," "This timetable satisfies all constraints," "This transaction is valid according to the rules," "I know a key that matches this hash value." GMW showed: all of that—and everything else in NP—can be proven without showing the solution itself. You can prove the existence of a Sudoku solution without revealing the solution; you can prove the validity of a transaction without disclosing sender, recipient, or amount.
The proof uses a deep theorem of complexity theory: all NP problems are translatable into one another (NP-completeness). It therefore suffices to equip a single NP-complete problem with a zero-knowledge proof—then every other NP problem inherits the proof by translation. GMW chose graph 3-coloring: given a network of nodes and edges, can you color the nodes with three colors such that no two nodes connected by an edge bear the same color? This is NP-complete.
The associated protocol is so vivid that it is worth presenting—and it is essentially a mathematized cave. Peggy knows a valid 3-coloring of the graph. In each round she does three things. First, she permutes the three colors at random (red-green-blue becomes, say, blue-red-green), so that the specific colors carry no meaning. Second, she "seals" the color of each node in a locked box—cryptographically: in a commitment that fixes the value bindingly but conceals it. She sends these sealed boxes to Victor. Third, Victor may now select a single edge and demand that Peggy open only the two boxes at its endpoints. Peggy opens them; Victor checks whether the two colors are different. If they are, Peggy has passed this one round.
You immediately see how the three properties interact. Completeness: if the graph really is correctly colored, the endpoints of every edge are always differently colored, so Peggy always passes. Soundness: if the graph is not 3-colorable, then at least one edge must have two endpoints of the same color; Victor hits it with a certain minimum probability (with m edges, at least one in m), and over enough rounds the cheating is almost certainly exposed. Zero knowledge: per round, Victor sees only two different colors on a single edge—and because Peggy permutes the colors afresh at random each round, this is merely "two random different colors out of three," information Victor could have made up himself. He learns nothing about the overall coloring. Once again the simulator argument applies: one can reproduce these two-color snippets without any knowledge of the real coloring.
The scope of this result can hardly be overstated. GMW transformed zero knowledge from a grab-bag of individual tricks into a universal tool: anything you can efficiently verify, you can also prove without showing it. This cleared the way to think of zero knowledge no longer only for "I know a key," but for arbitrarily complex statements—entire computations, entire programs. This leap, however, would take decades and a second surge of ideas before it became practical.
Part 5: From Dialogue to Document – The Fiat-Shamir Transformation
All the proofs considered so far have one practical blemish: they are interactive. Peggy and Victor must talk to each other live, back and forth, over several rounds. For many applications this is unworkable. A digital signature, for instance, must be a document that you produce once and that anyone can later verify—without querying the signer. A blockchain transaction must be valid without a live dialogue with a verifier. How do you turn a two-way conversation into a self-standing, non-interactive proof document?
The answer is one of the most elegant tricks in cryptography: the Fiat-Shamir transformation, introduced in 1986 by Amos Fiat and Adi Shamir. The core idea springs from a sharp observation. What do you actually need Victor for in the interactive protocol? For only one thing: to supply, at the right moment, an unpredictable random challenge that Peggy could not know in advance and therefore could not "prepare" beforehand. It is precisely this unpredictability that is the heart of soundness. Fiat and Shamir asked: can't Peggy generate this random challenge herself—in a way she cannot manipulate?
The solution: Peggy replaces Victor's random call with the hash value of her own prior messages. Instead of waiting for Victor to roll a challenge c, Peggy computes c = H(commitment) herself, where H is a cryptographic hash function. The crucial point: because a good hash function behaves like a random oracle—its result is practically unpredictable and depends chaotically on the input—Peggy cannot choose the challenge in her favor. She is bound to her commitment before the challenge is fixed, because the challenge is precisely the hash of that commitment. Victor as a living source of randomness has thus become superfluous: Peggy produces the entire protocol on her own—commitment, self-hashed challenge, response—and writes it down as a single document. Anyone can later verify this document by recomputing whether the challenge really is the hash of the commitment and whether the response works out. The dialogue has become a document, the interactive proof a non-interactive zero-knowledge proof (NIZK).
The nicest side effect falls out almost incidentally: if you additionally bind a message into the hash—computing c = H(commitment ‖ message)—then the resulting proof is inseparably chained to exactly that message. And this is nothing other than a digital signature. Whoever knows the secret key can produce such a proof for any message; whoever does not know it cannot. This is exactly how the Schnorr signature and the widely used EdDSA/Ed25519 signature arise, which today secure SSH keys, TLS certificates, and software signatures. The Fiat-Shamir transformation is thus one of the quiet bridges between the theory of zero-knowledge proofs and the everyday cryptography embedded in every operating system.
One important caveat should be named right away, however, for it will meet us again at the end: the Fiat-Shamir transformation is provably secure only in the so-called random-oracle model—an idealized assumption that the hash function behaves perfectly like a random oracle. Real hash functions do so only approximately. In practice the construction works excellently, but it is a heuristic, not an airtight mathematical proof—and it is precisely at this seam that spectacular implementation errors have occurred.
Part 6: The Scaling Revolution – zk-SNARKs and zk-STARKs
The GMW proofs for all of NP had a catch that made them practically useless for decades: they were huge and slow. To prove a complex statement, you had to translate the associated problem into a gigantic graph and exchange masses of commitments over many rounds. The proof could be orders of magnitude larger than the statement itself. For "I know a key" this was fine; for "This entire computation with millions of steps was executed correctly" it was unthinkable.
The breakthrough that turned zero knowledge from an academic curiosity into a billion-dollar industry came with a new class of constructions from around 2012: the zk-SNARKs. The acronym stands for Zero-Knowledge Succinct Non-interactive ARgument of Knowledge—and every word in it is a promise. Succinct is the heart of it: the proof is tiny—often only a few hundred bytes—and verifiable in milliseconds, and this is entirely independent of how enormous and lengthy the underlying computation was. You can prove that a program with billions of computational steps ran correctly, and this proof is a few hundred bytes in size and verified in a fraction of a second. This property—a constantly small, lightning-fast verifiable proof for arbitrarily large computations—is the real revolution. Non-interactive means: it is a single document, not a dialogue (via Fiat-Shamir-like methods). Argument of Knowledge means: soundness holds only against cheats with bounded computational power (an "argument" rather than an absolute "proof"), and the prover demonstrates genuine knowledge of a secret input (the witness).
The theoretical foundation for this was laid in 2012, in part in a paper co-authored by Berkeley professor Alessandro Chiesa; shortly afterward, the project Zcash (launched 2016) made the technology famous. Zcash is a cryptocurrency that uses zk-SNARKs to fully conceal transactions: a proof attests that a transaction is valid according to all the rules—the sender owns the coins, spends no more than he has, no one counterfeits money—without disclosing sender, recipient, or amount. This is the GMW vision of 1986, finally practical: an arbitrarily complex validity statement, proven without the secret details.
But zk-SNARKs come at a delicate price: the trusted setup. Many SNARK constructions require a one-time ceremony in which secret random parameters are generated to form the public "proving keys." The secret intermediate values that arise must subsequently be irrevocably destroyed—they are aptly called "toxic waste." For whoever keeps these values can forge false proofs that every verifier accepts—in the case of a currency: create money out of nothing without it ever being noticed. Zcash addressed this with elaborate multi-party ceremonies ("The Ceremony"), in which many independent participants each contribute and destroy a fraction of the secret; as long as even one participant honestly deletes his share, the system remains secure. Nevertheless, the trusted setup is a trust assumption one would rather be rid of—a foreign body in a technology meant precisely to make trust unnecessary.
This is exactly where the zk-STARKs come in, introduced in 2018 by Eli Ben-Sasson and colleagues. The "T" stands for transparent: STARKs require no trusted setup and hence no toxic waste. Their proofs rest solely on hash functions and publicly known randomness. This brings two further strategic advantages. First, they are presumably post-quantum secure: because they rely only on the collision resistance of hash functions (and not on factoring or the discrete logarithm, which Shor's quantum algorithm would break), they are considered resistant to future quantum computers. Second, they scale even better for gigantic computations. The price: STARK proofs are considerably larger than SNARK proofs—on the order of tens to hundreds of kilobytes rather than a few hundred bytes. It is the classic cryptographic trade-off: you exchange the inconvenient trust assumption of the setup and quantum vulnerability for a larger proof. I am of the opinion that a general rule of thumb of the field shows itself here, one that Sven may find familiar from other security decisions: you rarely get everything at once—proof size, verification speed, setup-freedom, and quantum resistance are in tension, and which point in that space you choose is an architectural, not a purely mathematical, decision.
Part 7: Where the Proofs Are Migrating – Real Applications
The theory is elegant, but the real reason zero knowledge is on everyone's lips today lies in a handful of applications pushing from the niche into the mainstream.
The first and oldest is financial privacy. Zcash was the beginning; today a whole family of protocols uses zero knowledge to make payments confidential without giving up the verifiability of the rules. The conceptual gain is paradoxically beautiful: a public ledger, viewable by anyone, can at the same time be fully private—everyone can verify that all transactions are valid, but no one sees their content.
The second, and economically probably the most significant at present, is the scaling of blockchains via so-called zk-rollups. The problem: a network like Ethereum can process only a limited number of transactions per second, because every node must recompute every transaction. The idea of the zk-rollup: you bundle thousands of transactions off the main chain ("off-chain"), execute them there, and produce a single zk-SNARK/STARK proof attesting that the entire batch processing was correct. Only this tiny proof (plus the new state) is written to the main chain. The main chain no longer has to recompute thousands of transactions but only verify one small proof—in milliseconds. This is exactly where the succinctness of SNARKs pays off in hard currency: a constantly small proof stands for an arbitrary amount of computational work. zk-rollups are among the most traded scaling solutions of the Ethereum world and move billions in value.
The third application perhaps touches Sven most directly, because it reaches into the field of identity and privacy compliance: the selective disclosure of attributes. A zero-knowledge proof can attest "I am over 18" without naming the date of birth; "I reside in the EU" without the exact address; "My salary is above the credit threshold" without the figure. This idea of data-minimizing credentials is the technical embodiment of the GDPR's data-protection principle of data minimization. The European EUDI Wallet (European Digital Identity Wallet), currently under construction, explicitly provides for zero-knowledge-style methods to enable exactly such selective, unlinkable proofs. Instead of showing a complete ID at every age check, you present a proof that attests only the one relevant fact—no more.
A fourth application, which has become painfully topical in the crypto sector, is the proof of solvency (proof of reserves). After spectacular collapses of crypto exchanges, the desire grew for an exchange to be able to prove: "My reserves cover all customer deposits"—without disclosing the full balance sheet, the customer list, or the exact amounts. Zero-knowledge proofs permit exactly this tightrope walk between transparency and confidentiality.
And the frontier keeps moving. Current research carries zero knowledge over to machine learning (zkML): you want to be able to prove that a particular AI model really produced a particular output—for instance, that a credit decision truly originated from the audited model—without disclosing the secret model weights. For Sven's interface between AI engineering and IT security, this is a particularly enticing prospect: the verifiability of an AI computation, decoupled from the disclosure of the model.
Part 8: The Pitfalls – Where Zero Knowledge Breaks in Practice
As powerful as the technique is, it punishes implementation errors mercilessly—and the history of recent years is rich in instructive accidents. Whoever deploys zero knowledge must know at least four reefs.
The first and most common is weak Fiat-Shamir. Recall: the security of the non-interactive transformation hinges on the self-hashed challenge actually covering all relevant values—in particular the commitment and the complete public statement. If an implementer forgets to include one of these values in the hash (so-called "weak Fiat-Shamir"), a margin arises in which an attacker can retroactively bend the statement to fit a forged proof. This very error has been found in recent years in an alarming number of real-world libraries and blockchain systems—a subtle omission with potentially catastrophic consequences, because it silently undermines soundness without anything visibly breaking. I am of the opinion that this exemplifies a deeper truth of applied cryptography: the most dangerous errors are not those where something does not work, but those where everything appears to work and only the security guarantee was secretly lost.
The second reef is the already mentioned trusted setup of the SNARKs. If the toxic waste is not reliably destroyed—or if the setup ceremony was compromised—the holder of the secret values can forge arbitrary false proofs, and no one would ever notice, because the forgeries are mathematically indistinguishable from genuine proofs. This is a particularly insidious trust assumption, because its breach remains invisible. Practice answers this with elaborate multi-party ceremonies and, where possible, a switch to setup-free constructions (STARKs or newer transparent SNARKs).
The third reef is computational rather than absolute security. The "A" in SNARK—argument—is no accident. Many modern systems are secure only against attackers with bounded computational power; their soundness rests on the same number-theoretic hardness assumptions (discrete logarithm, elliptic curves) that a sufficiently large quantum computer would break. Whoever needs long-lived guarantees must factor in the post-quantum question from the outset—another reason for the growing interest in the hash-based STARKs.
The fourth, often underestimated reef is the sheer complexity of the systems—half-jokingly called "moon math." A zk-SNARK system consists of many layers: the translation of the problem into an arithmetic circuit, the polynomial commitment scheme, the Fiat-Shamir transformation, the concrete implementation in finite-field arithmetic. Each layer can harbor errors, and an error in one of them—a wrongly modeled constraint in the circuit, an off-by-one in the field arithmetic—can undermine the entire security guarantee while the system appears to work flawlessly in normal use. This is precisely why the formal verification and specialized auditing of zero-knowledge circuits have become a distinct, fast-growing subfield of security research. For practice this means: zero knowledge is not an ingredient you simply "sprinkle on top," but a system whose security is only as strong as its weakest, most subtle layer.
The Central Takeaway
The core idea of the zero-knowledge proof can be stated in one sentence: conviction and information are separable—you can fully convince someone of the truth of a statement without communicating anything other than exactly that truth. What at first sounds like a paradox is made possible by three ingredients: interaction, randomness, and the simulator argument, which pins down "learning nothing" mathematically by demanding that the entire conversation be forgeable without any knowledge of the secret.
The truly transferable lesson, however, lies in the arc from 1985 to today. A deep theoretical question—"Can knowledge be quantified and decoupled from proofs?"—led, via GMW's universal "everything in NP," the Fiat-Shamir bridge to the signature, and finally the succinct revolution of SNARKs and STARKs, to a technology that underpins private payments, the scaling of Ethereum, and data-minimizing digital identity documents. For Sven's work at the intersection of IT security, cloud, and AI, perhaps the most practically important message is this: zero knowledge shifts the old security question from "Whom must I trust?" to "What can I prove?" Where until now a system, an authority, or a provider was assumed to be trustworthy, in the future a short proof can replace that assumption—trust becomes replaceable by verifiability. At the same time, the history of the weak-Fiat-Shamir errors counsels humility: the guarantee is only as good as its subtlest implementation layer, and precisely because a broken zero-knowledge system looks flawless from the outside, diligence here is not a bonus but the actual engineering achievement.
Reflection Question
Zero knowledge separates two things we intuitively hold to be inseparable: convincing someone and revealing something to them. Where in your own systems and processes do you still today demand the full disclosure of data—the complete ID, the entire balance sheet, the exact figure—when in truth only a single derived fact would need to be checked ("older than 18," "sufficient coverage," "within the limit")? And what would change in your architecture, your privacy risks, and your trust assumptions if you consistently framed these questions as "What must I prove?" rather than "Which data must I see?"
Cross-References in the Vault
- Harvest Now, Decrypt Later: Post-Quantum Cryptography and the Race Against the Quantum Computer – the direct link to Parts 6 and 8: why zk-STARKs (hash-based) are considered post-quantum secure, while many zk-SNARKs rest on the same number-theoretic assumptions that Shor's algorithm would break.
- The Key That Dies After Every Message: The Signal Protocol, the Double Ratchet, and the Art of End-to-End Encryption – another masterpiece of applied cryptography that assembles the same basic ingredients (commitments, randomness, hash functions) into an entirely different security guarantee.
- The Tree That Condenses Truth: Merkle Trees and the Art of Efficient Integrity Verification – the hash function as a shared building block: Merkle trees condense truth into an anchor, zk-STARKs build their proofs directly from hash commitments.
- Three Pages Against 2,000 Years: The Gettier Problem and What Knowledge Really Is – the philosophical sister question: what is "knowledge"? Zero knowledge provides a surprisingly precise, computational answer to one aspect of it—one can demonstrate knowledge without transmitting its content.
- The Backdoor at the Heart of Linux: The XZ Attack and the Anatomy of a Supply-Chain Compromise – the flip side of the trust question: there an attacker undermines hidden trust; zero knowledge conversely tries to make trust superfluous through verifiable proofs.
Sources
- S. Goldwasser, S. Micali, C. Rackoff: The Knowledge Complexity of Interactive Proof-Systems, ACM STOC 1985; journal version SIAM J. Comput. 18(1):186–208, 1989. https://dl.acm.org/doi/10.1145/22145.22178
- J.-J. Quisquater, L. Guillou et al.: How to Explain Zero-Knowledge Protocols to Your Children, CRYPTO '89, LNCS 435, pp. 628–631 (the "cave of Ali Baba"). https://link.springer.com/chapter/10.1007/0-387-34805-0_60
- O. Goldreich, S. Micali, A. Wigderson: Proofs that Yield Nothing but Their Validity, or All Languages in NP Have Zero-Knowledge Proof Systems, J. ACM 38(3):690–728, 1991 (graph 3-coloring, everything in NP). https://dl.acm.org/doi/10.1145/116825.116852
- A. Fiat, A. Shamir: How to Prove Yourself: Practical Solutions to Identification and Signature Problems, CRYPTO '86, LNCS 263, pp. 186–194. https://link.springer.com/chapter/10.1007/3-540-47721-7_12
- C.-P. Schnorr: Efficient Signature Generation by Smart Cards, J. Cryptology 4(3):161–174, 1991. https://link.springer.com/article/10.1007/BF00196725
- E. Ben-Sasson, A. Bentov, Y. Horesh, M. Riabzev: Scalable, transparent, and post-quantum secure computational integrity (zk-STARKs), IACR ePrint 2018/046, 2018. https://eprint.iacr.org/2018/046
- Electric Coin Company / Zcash: What are zk-SNARKs? (trusted setup, "toxic waste," The Ceremony). https://z.cash/technology/zksnarks/
- zkSecurity: 10 Must-Read Papers That Shaped Modern Zero-Knowledge Proofs (overview of the history of ideas). https://blog.zksecurity.xyz/posts/ten-zk-papers/
- Cyfrin: A Full Comparison: What are zk-SNARKs and zk-STARKs? (trusted setup, proof size, transparency, post-quantum). https://www.cyfrin.io/blog/a-full-comparison-what-are-zk-snarks-and-zk-starks
Note: This article reflects the verifiable, scientifically established state of knowledge. Where personal assessments are included, they are marked with "I am of the opinion that ..."