Multivariate cryptography is a branch of public-key cryptography whose security is based on the computational difficulty of solving systems of multivariate polynomial equations over a finite field. This problem, known as the Multivariate Quadratic (MQ) problem or the Polynomial System Solving (PoSSo) problem, is proven to be NP-hard.
Fundamental Principle The core idea involves constructing a central map (private key) composed of a system of easily invertible multivariate polynomials, typically quadratic. This central map is then disguised using affine (or linear) transformations applied to the input and output variables. The composition of these transformations with the central map produces the public key: a system of multivariate polynomials that appears random and is computationally infeasible to invert without knowledge of the private transformations.
Key Generation
- Central Map (Private Key): A set of $m$ multivariate polynomials in $n$ variables over a finite field $\mathbb{F}_q$, chosen such that solving $y = \mathcal{F}(x)$ for $x$ given $y$ is efficient (e.g., triangular systems, Oil-and-Vinegar structures, or Matsumoto-Imai constructions).
- Affine Transformations: Two invertible affine maps $S: \mathbb{F}_q^m \to \mathbb{F}_q^m$ and $T: \mathbb{F}_q^n \to \mathbb{F}_q^n$ are selected randomly.
- Public Key: The composition $P = S \circ \mathcal{F} \circ T$. The public key consists of the explicit coefficients of the $m$ polynomials in $n$ variables.
Encryption and Signature Schemes
- Encryption: To encrypt a message $x \in \mathbb{F}_q^n$, the sender computes the ciphertext $y = P(x) \in \mathbb{F}_q^m$. The holder of the private key $(S, \mathcal{F}, T)$ recovers the message by computing $x = T^{-1}(\mathcal{F}^{-1}(S^{-1}(y)))$.
- Signatures: To sign a document (hash) $y \in \mathbb{F}_q^m$, the signer computes a pre-image $x = T^{-1}(\mathcal{F}^{-1}(S^{-1}(y)))$. Verification consists of checking that $P(x) = y$.
Major Families and Schemes
- Matsumoto-Imai (MI / C):* The first multivariate scheme (1988), using a univariate polynomial over an extension field disguised as a multivariate system over the base field. Broken by Patarin in 1995 using linearization equations.
- Hidden Field Equations (HFE): Introduced by Patarin (1996), generalizes MI by using a sparse univariate polynomial over an extension field. Variants include HFEv- (adding vinegar variables and minus equations) used in the GeMSS signature scheme.
- Oil and Vinegar (OV) / Unbalanced Oil and Vinegar (UOV): Introduced by Patarin (1997) and Kipnis-Shamir (1999). Variables are partitioned into "Oil" and "Vinegar" sets; polynomials lack Oil $\times$ Oil cross terms. UOV remains a standard for multivariate signatures (e.g., Rainbow, UOV).
- Rainbow: A multi-layer variant of UOV submitted to the NIST Post-Quantum Cryptography standardization process (Round 3 finalist). Broken in 2022 by Beullens.
- MAYO: A variant of Oil and Vinegar using a different structure for the central map, submitted to the NIST PQC process (additional signatures call).
- PROV / PFLASH: Schemes based on the "Perturbed" or "Projection" techniques.
Security Considerations Security relies on the difficulty of solving the public system $P(x) = y$ directly (Direct Attack: Gröbner basis algorithms like F4/F5, XL) or recovering the private structure $S, \mathcal{F}, T$ (Structural Attack: MinRank, HighRank, Differential/Invariant attacks, Kipnis-Shamir attack on Oil-and-Vinegar). Parameter selection balances key size, signature/ciphertext size, and security level against known algebraic attacks. Multivariate schemes generally feature very fast verification/encryption and small signatures/ciphertexts, but suffer from large public key sizes (often tens to hundreds of kilobytes).
Post-Quantum Status Multivariate cryptography is considered a primary candidate for post-quantum cryptography because the MQ problem is not known to be solvable in polynomial time on a quantum computer (unlike integer factorization or discrete logarithms). Several multivariate signature schemes have been submitted to the NIST Post-Quantum Cryptography Standardization Project. As of the latest rounds, MAYO and UOV-based schemes remain under evaluation for standardization.