What is a STARK?
A STARK is a short proof that a long computation was done correctly, which anyone can check quickly. It is built from hash functions alone, so it needs no trusted setup and no elliptic curves, and it can keep the inputs secret.
Also called zk-STARK or scalable transparent argument of knowledge.
Explain it like I’m five
A pupil says she has worked through a sum of a thousand lines, each made from the lines before it by one fixed rule. The teacher does not want to read a thousand lines. So the pupil copies them into a cabinet of locked drawers and fills thousands of extra drawers by a fixed formula, so that all the numbers lie on one smooth curve. One wrong line would force a kink in the curve, and then most drawers would break the rule.
She seals the cabinet with tamper-proof tape. The teacher rolls dice the pupil cannot predict, and the pupil opens only the drawers the dice pick. If each one follows the rule, the teacher believes the whole sum. Dice rolled from the tape’s own fingerprint let the check happen without the teacher in the room.
What problem it solves
Checking a long computation by running it again costs as much as the computation. A blockchain where every node reruns everything is slow and expensive. With a STARK, one machine does the heavy work and publishes a short proof, and everyone else checks that proof in a fraction of the time, however long the computation was. The same proof can also hide the inputs, so the verifier learns only that the result is right.
How it works, step by step
- The run of the program is written as a table, with one row for each step and one column for each variable (the execution trace).
- Every rule of the program becomes an equation on that table, using only addition and multiplication of numbers that wrap around at a large prime (arithmetization into an algebraic intermediate representation, or AIR). Boundary rules pin the first row to the input and the last row to the output, and transition rules say that each row follows from the one before.
- Each column becomes a polynomial through its values, and the prover evaluates it at several times as many points as the table has rows (the low-degree extension). Two different low-degree polynomials agree at very few points, so changing one cell changes at least seven in every eight stretched values when the blowup is eight.
- The prover puts these values into a Merkle tree and sends only its root, a single hash (the Merkle commitment). After that, no value can change.
- A rule holds at the rows where it must hold exactly when its polynomial divides evenly by the polynomial that is zero at those rows. The verifier sends random weights, and the prover blends the quotients into one polynomial and commits to it too (the composition polynomial).
- The prover must now show that the blended values lie close to a polynomial of low degree. It splits the polynomial into even and odd parts, mixes them with a random number from the verifier to get half the degree on half as many points, commits again and repeats until one number is left, which it sends openly (FRI, a low-degree test).
- Each random number the verifier would send comes instead from a hash of everything the prover has sent so far, so the prover cannot choose them in advance and the whole exchange fits into one message (the Fiat-Shamir heuristic).
- To check the proof, the verifier recomputes those numbers, opens a few dozen positions against the Merkle roots and confirms that the rules and every folding step agree there. Random padding added to each column (blinding) makes the opened positions reveal nothing about the inputs.
A worked example
StarkWare’s STARK 101 course proves a small claim. A sequence starts with 1 and a secret number, and each new term is the sum of the squares of the two before it, wrapping around at the prime 3,221,225,473. Starting with 1 and 3, the next terms are 10, 109, 11,981 and 143,556,242 before the wrapping begins. For the secret 3,141,592, the 1,023rd term is 2,338,775,057. The table has 1,023 rows and is stretched to 8,192 points.
A larger use is a chain of hash computations. StarkWare’s ethSTARK documentation proves that 98,304 hashes were chained correctly, using a hash called Rescue that suits STARKs. At 80 bits of security and a blowup of eight, the proof takes about 48 kilobytes, one processor thread checks it in under 2 milliseconds, and a four-core desktop makes it in about 12 seconds.
What it guarantees
- An honest prover with a correct computation always convinces the verifier, and a false claim passes only with a tiny probability. StarkWare’s documentation sets it at no more than about one in a trillion trillion.
- With a blowup of eight, each opened position is worth about three bits of security under a standard conjecture, so a few dozen positions are enough for 80 bits.
- All of the verifier’s randomness is public, so no setup secret exists that could forge a proof (transparency).
- The only assumption is a collision-resistant hash function, treated as a random function in the Fiat-Shamir step, and such systems are not known to be breakable by quantum computers in polynomial time (post-quantum).
- The prover’s work grows a little faster than the computation, while the proof and the check grow with the square of the logarithm of its length (scalability). In StarkWare’s measurements, 256 times more hash computations only double the proof, from about 40 to about 80 kilobytes.
Common misunderstandings
- A STARK keeps its inputs secret only when blinding is added. StarkWare’s open-source ethSTARK prover leaves it out and calls zero knowledge an optional feature, and many systems use STARKs only to shrink the checking work.
- STARKs and SNARKs are close cousins. Both give short proofs that are quick to check. A Groth16 SNARK is a couple of hundred bytes and needs a trusted setup, and a STARK is tens to hundreds of kilobytes and needs none.
- Opening a few positions is enough because the prover commits before it learns which ones are opened, and a wrong table disagrees with a correct one at nearly all of them.
Where it is used
Starknet, an Ethereum layer-2 network, bundles thousands of transactions off-chain, proves them with STARKs and has Ethereum check the proof. StarkWare’s ethSTARK prover came out of a 2018 Ethereum Foundation grant.
History
Joe Kilian (1992) and Silvio Micali (1994) showed how a Merkle tree and a random function can turn a long proof into a short argument, and about 25 years passed without an implementation. The FRI protocol (2017) made the central test fast, the STARK paper followed in 2018, and Vitalik Buterin’s explainer series of 2017 and 2018 spread the ideas.
In Redacted
In Redacted, every spend from your private balance is proved with a STARK whose only cryptographic building block is SHA-256, with no trusted setup. The contract checks each proof on-chain, in public, every time, and blinding keeps the checked positions from revealing anything about you.
Bunker mode →Related terms
Sources: Scalable, transparent, and post-quantum secure computational integrity, Ben-Sasson, Bentov, Horesh and Riabzev, 2018 · Fast Reed-Solomon Interactive Oracle Proofs of Proximity, Ben-Sasson, Bentov, Horesh and Riabzev, ICALP 2018 · STARK 101, StarkWare · ethSTARK Documentation, version 1.2, StarkWare · Introduction to Starknet’s protocol, Starknet documentation
Updated November 1, 2026. All terms