Multivariate cryptography explained in plain terms means understanding signatures built on a problem that has resisted solvers for decades: a system of quadratic equations over a finite field, easy to check and brutally hard to solve. The central question is why anyone would build cryptography on equations a schoolchild could write down, and the answer is that writing them down is easy, and solving them is not.
The field promises the smallest signatures in post-quantum cryptography, which matters wherever bandwidth is scarce or signatures are verified far more often than they are made. It has also suffered some of the most spectacular breaks in the field, with schemes that survived years of scrutiny falling to a single new idea, which is why it remains a research area rather than a standard.
The story is one of elegant mathematics, clever attacks, and stubborn persistence. This article explains what multivariate cryptography is, how it works, and why it refuses to go away despite its history.
Key takeaways
- Multivariate cryptography builds signatures from systems of quadratic equations.
- Solving such systems is believed hard, even for a quantum computer.
- It produces some of the smallest signatures of any post-quantum family.
- Several leading schemes were broken, including Rainbow in 2022.
- Research continues on new designs with stronger security arguments.
What multivariate cryptography is
The hard problem is simple to state. Given a system of quadratic equations in many variables over a finite field, find a solution, which is a set of values that satisfies every equation at once. For a random system, the best known methods are essentially brute force, and the difficulty grows steeply with the number of variables, which is what makes the problem attractive for cryptography.
The trick is the trapdoor. The signer starts with a central map that is easy to invert, a system with a hidden structure that makes solving it trivial, and then hides that structure behind two secret linear transformations, one applied to the variables and one to the equations. The public key is the composed system, which looks random, and the private key is the two transformations plus the central map.
Signing works by inverting the trapdoor. The signer hashes the message, applies the inverse of the second transformation, inverts the central map, and applies the inverse of the first, producing a signature that anyone can verify by plugging it into the public equations. Verification is just evaluation, which is fast and simple.
The Oil and Vinegar construction is the most famous design. Its central map splits the variables into two groups, the oil and the vinegar, and the equations are built so that fixing the vinegar variables makes the system linear in the oil variables, which is easy to solve. The name is a joke about salad dressing, and the design has survived, in various forms, since 1997.
The Rainbow scheme was the field’s great hope, and its fall was the field’s great lesson. Rainbow reached the finals of the standardisation process, and in 2022 researchers showed an attack that broke it completely, using a clever combination of linear algebra that exploited the structure of its central map. The break ended Rainbow, but not the field.
Our guide to elliptic-curve cryptography explains the curves behind today’s signatures, and our guide to digital signatures explains the signatures multivariate schemes are trying to replace.
How multivariate cryptography works
Everything starts with the central map, the hidden structure that makes signing possible. The designer chooses a system of equations with a special form, such as Oil and Vinegar, where the equations are quadratic but become linear once some variables are fixed. That property is the trapdoor, and it is what the public key must hide.
The hiding is done with two secret affine transformations. One scrambles the input variables before they reach the central map, and the other scrambles the output equations after they leave it, so the public system looks like a random set of quadratic equations with no visible structure. The private key is the pair of transformations and the central map itself.
To sign, the signer works backwards through the hiding. The message is hashed to a vector, the inverse of the second transformation is applied, the central map is inverted by fixing the vinegar variables at random and solving the resulting linear system, and the inverse of the first transformation is applied to produce the signature.
Verification is the forward direction, and anyone can do it. The verifier plugs the signature into the public equations and checks that the output matches the hash of the message, which takes only a few thousand field operations. The asymmetry is the point: signing needs the secret structure, verification needs only the public equations.
The attacks exploit the structure the hiding was supposed to conceal. The Rainbow break used the fact that the central map’s layers leak information through the public key’s differential structure, and the attack combined several known techniques into one that ran in hours. Every multivariate design since has been built with that lesson in mind.

Comparing multivariate cryptography with other post-quantum families
Multivariate cryptography is one of several ways to build quantum-resistant signatures, and each was built with a different emphasis. Lattice-based signatures are fast and standardised but larger, hash-based signatures are conservative but produce enormous signatures, and code-based schemes have no practical signature design at all, and each approach trades size for confidence in a different way.
The table below sets out the main contrasts between the leading approaches.
| Aspect | Multivariate | Lattice-based | Hash-based |
|---|---|---|---|
| Signature size | Tiny | Moderate | Very large |
| Public key size | Large | Moderate | Small |
| Signing speed | Fast | Fast | Slow |
| Standardised | No | Yes | Yes |
| Best for | Bandwidth-starved signing | General purpose use | Maximum conservatism |
The practical result is that multivariate signatures are the right choice where bandwidth is the scarcest resource, lattice-based schemes suit general-purpose use, and hash-based signatures fit the cases where conservatism matters most.
Where multivariate cryptography is used
Research is its main home today. Multivariate schemes are studied in universities and standards bodies, and the field’s conferences are where new designs are proposed and broken, which is a healthy sign for a young field, even if it is not yet a deployment story.
Embedded devices are the target application. A sensor or a smart card that must sign data with almost no bandwidth would benefit enormously from a tiny signature, and multivariate schemes are the only post-quantum family that offers one. The hardware is waiting for a design the field trusts.
Standardisation continues, cautiously. After Rainbow fell, the process asked for new multivariate submissions, and several arrived, built with the Rainbow attack in mind. The field is now in its second round of evaluation, and the lesson of Rainbow is that no design is trusted until it has survived years of attack.
Blockchain experiments have tried it. Some cryptocurrency projects explored multivariate signatures for their compactness, attracted by the idea of small signatures on a ledger where every byte costs money. The experiments stayed small, and the breaks in the field kept them that way.
Teaching is its quietest use. Multivariate cryptography is the standard example in courses of how a beautiful trapdoor can hide a fatal weakness, and the rise and fall of Rainbow is now taught alongside the rise and fall of SIKE as a cautionary tale.
Strengths and limits
The greatest strength of multivariate cryptography is its signature size. Nothing else in the post-quantum field produces signatures as small, and for systems where every byte is counted, that alone is worth years of research. The mathematics is also fast, with signing and verification both cheap.
It is also a strength that the hard problem is genuinely different from the others. A breakthrough against lattices or codes would not touch multivariate systems, and that diversity matters when the whole field is hedging against an uncertain future.
The limits are obvious, though, and the history is the evidence. Rainbow was a finalist and fell in a weekend, and the field has not yet produced a design with the confidence that lattice schemes enjoy. Multivariate cryptography is a research field with a compelling promise, and anyone deploying it today would be taking a bet, not following a standard.
Multivariate cryptography checklist
- Do not deploy Rainbow; it was broken completely in 2022.
- Treat all multivariate schemes as research, not production.
- Watch the new standardisation submissions closely.
- Remember the lesson: hidden structure can leak through the public key.
- Use hybrid signatures so one broken scheme cannot sink you.
- Follow the cryptanalysis literature before choosing any design.
- Budget for large public keys if you experiment with it.
- Test implementations against the published attacks, not just the happy path.
- Keep the mathematics honest: a hard problem is not a proven one.
Frequently asked questions
What is multivariate cryptography in simple terms?
It is public-key cryptography built on systems of quadratic equations: the signature is a solution to a puzzle that is easy to check and hard to solve without a secret trapdoor.
What is the Oil and Vinegar construction?
It is a design that splits variables into two groups, so that fixing one group makes the equations linear and easy to solve, which is the trapdoor that lets the signer produce signatures.
Why was Rainbow broken in 2022?
Researchers found an attack that combined several techniques to recover the hidden structure from the public key, exploiting the way Rainbow’s layers leaked information.
Are all multivariate schemes broken?
No. The attack was specific to Rainbow’s design. Other schemes, including newer submissions built with the attack in mind, were not broken by it, though confidence in the field fell.
Why are the signatures so small?
Because a signature is just a solution to the equation system, a short vector of field elements, far smaller than the signatures lattice or hash-based schemes produce.
When should I use multivariate cryptography?
For research and experimentation, not for production systems. There is no standardised multivariate scheme to deploy today.
The bottom line
Multivariate cryptography explained in one line is this: the signature is a solution to a system of equations that only the signer, holding the hidden structure, can find quickly.
It is the field that promises the smallest signatures in cryptography, lost its leading scheme in a weekend, and still matters, because the mathematics is real and the prize is worth the wait.
This article is general information about how multivariate cryptography works, not advice about choosing cryptography for a particular system.







