← Back to section · Post-Quantum Cryptography

Multivariate Cryptography: Betting Security on Solving Equations

An overview of multivariate public-key cryptography: what the MQ problem is, why random quadratic systems frustrate even quantum computers, how a central map wrapped in two affine layers becomes a signature scheme, and the family's distinctive size profile.

Published 22 November 2026 · 5 min read · PQ Frontier

Multivariate Cryptography: Betting Security on Solving Equations
AI-generated site artwork
Video explainer · Multivariate cryptography

A System of Equations as a Lock

Every post-quantum family stakes its security on a mathematical problem: lattices bet on high-dimensional geometry, codes bet on decoding, and the multivariate family bets on something disarmingly direct — solving equations. Given mm quadratic polynomial equations in nn variables over a finite field Fq\mathbb{F}_q, find a solution. That is the MQ problem (Multivariate Quadratic). When the equations are random, with no hidden structure, solving them is NP-hard even over the two-element field, and the best algorithms developed over decades — Gröbner bases, XL and its successors — still scale exponentially against random systems.

The quantum dimension matters just as much. Shor’s algorithm destroys RSA and elliptic-curve cryptography because those problems hide a periodic algebraic structure; a random quadratic system offers no such structure to exploit, and Grover’s algorithm provides only a generic square-root speedup that larger parameters can absorb. Multivariate cryptography has therefore been regarded as naturally quantum-resistant since the 1980s — older than the term “post-quantum” itself.

From Hard Problem to Scheme: Hide a Solvable Map

A hard problem alone is not a cipher — the legitimate user also needs an efficient way to “unlock” it. The standard multivariate signature construction has three layers. In the middle sits a central map: a system of quadratic equations with a special structure that makes it easy to invert (in Oil-and-Vinegar designs, for instance, the private-key holder can solve for the variables layer by layer). Around it, two random invertible affine transformations scramble the variables and equations of the central map beyond recognition. Publish the composition of all three, and you get the public key: a system of quadratic equations that looks random.

To sign, the private-key holder undoes the outer affine layer, feeds the message hash into the central map to obtain a preimage, then undoes the inner layer to produce the signature. Verification needs no secret at all: substitute the signature into the public equations and check that they hold. An attacker faces two roads — solve the masked system directly (which runs into the MQ problem), or try to peel the affine masking off the public key and recover the central structure (which runs into polynomial-isomorphism-type problems). The family’s security history is essentially the tug-of-war along these two roads.

The Equation-to-Variable Ratio: Why Underdetermined Is the Norm

The MQ problem’s hardness depends not only on the number of variables but also on the ratio between equations and variables. When equations far outnumber variables (overdetermined), a random system usually has few or no solutions and solving becomes comparatively easier — the surplus equations corroborate each other and elimination converges quickly. When equations are far fewer (underdetermined), solutions are abundant and attackers can fix some variables and solve the system in lower-dimensional slices, again at a discount. The hardest region lies near balance, and it is the main battlefield of complexity estimation.

Multivariate signatures face an inescapable engineering constraint: signing must always succeed in finding a preimage, so the central-map side must be perpetually solvable for the key holder; meanwhile, for verification equations to be meaningful without bloating signature length, the public side usually has fewer equations than variables, making public systems typically underdetermined. Designers must balance this carefully: too underdetermined, and dimension-reducing attacks get cheap; too close to balanced, and signatures grow while trapdoor solving starts to fail with noticeable probability. This ratio is one of the core trade-offs behind every multivariate parameter table, and a recurring theme in the scheme-specific articles that follow in this subcategory.

A Distinctive Profile: Short Signatures, Large Keys

Multivariate signatures carry a recognizable fingerprint. Verification is mere polynomial evaluation, among the fastest of any post-quantum signature; the signature itself is just a tuple of field elements, typically a few dozen to a couple of hundred bytes — far shorter than lattice signatures. The cost sits at the other end: the public key must spell out every coefficient of the whole system, routinely tens to hundreds of kilobytes, the largest of the major post-quantum families. This “short signature, large key” combination fits a specific niche naturally: settings where signatures are verified repeatedly but the key is distributed once, such as firmware and code signing or the root of a certificate chain.

A Family Known for Attack-and-Defense Cycles

Honesty requires adding that multivariate cryptography has the highest casualty rate in the post-quantum family. Whenever attackers find a pattern in a central map’s structure, a scheme can collapse wholesale — Matsumoto–Imai, balanced Oil-and-Vinegar and Rainbow all fell this way. Yet each break also deposited deeper understanding, and today’s UOV and its descendants are deliberately restrained designs built on those ruins.

It also holds one irreplaceable value in today’s standards landscape: assumption diversity. ML-DSA bets on lattice problems, SLH-DSA bets on hash functions alone, and multivariate cryptography bets on equation solving, which is related to neither. Should a mainstream line ever suffer an unexpected breakthrough, the multivariate family is a ready-made backup with a completely different profile — the fundamental reason NIST keeps seats for it in the additional signature process beyond the first standards. The rest of the story — the Oil-and-Vinegar structure, Rainbow’s rise and fall, and the arms race in equation-solving algorithms — is told article by article in this subcategory.

Tags: Multivariate CryptographyMQ ProblemDigital Signatures