ArticleslgStudy

mathematics

Hidden Field Equations

Hidden Field Equations is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Hidden Field Equations rather than just read about it. In short: Hidden Fields Equations (HFE), also known as HFE trapdoor function, is a public key cryptosystem which was introduced at Eurocrypt in 1996 and proposed by (in French) Jacques Patarin following the idea of the Matsumoto and Imai system. It is based on polynomials over finite fields 𝔽q of different size to disguise the relationship between the private key and public key.

Key takeaways

  • Hidden Field Equations belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Hidden Field Equations to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Hidden Field Equations from memory before moving on to harder problems.

Reference excerpt

Hidden Fields Equations (HFE), also known as HFE trapdoor function, is a public key cryptosystem which was introduced at Eurocrypt in 1996 and proposed by (in French) Jacques Patarin following the idea of the Matsumoto and Imai system. It is based on polynomials over finite fields 𝔽q of different size to disguise the relationship between the private key and public key. HFE is in fact a family which consists of basic HFE and combinatorial versions of HFE. The HFE family of cryptosystems is based on the hardness of the problem of finding solutions to a system of multivariate quadratic equations (the so-called MQ problem) since it uses private affine transformations to hide the extension field and the private polynomials. Hidden Field Equations also have been used to construct digital signature schemes, e.g. Quartz and Sflash.

Mathematical background One of the central notions to understand how Hidden Field Equations work is to see that for two extension fields 𝔽qn 𝔽qm over the same base field 𝔽q one can interpret a system of m multivariate polynomials in n variables over 𝔽q as a function 𝔽qn→𝔽qm by using a suitable basis of 𝔽qn over 𝔽q. In almost all applications the polynomials are quadratic, i.e. they have degree 2. We start with the simplest kind of polynomials, namely monomials, and show how they lead to quadratic systems of equations. Consider a finite field 𝔽q, where q is a power of 2, and an extension field K of degree n. Let 0<h<qn such that h=qθ+1 for some θ and gcd(h,qn−1)=1. The condition gcd(h,qn−1)=1 is equivalent to requiring that the map u→uh on K is one to one and its inverse is the map u→uh′ where h′ is the multiplicative inverse of h modqn−1. Take a random element u∈𝔽qn. Define w∈𝔽qn by

w=uh=uqθu (1) Let β1,...,βn to be a basis of K as an 𝔽q vector space. We represent u with respect to the basis as u=(u1,...,un) and w=(w1,...,wn). Let A(k)=aij(k) be the matrix of the linear transformation u→uqk with respect to the basis β1,...,βn, i.e. such that

βiqk=∑j=1naijkβj, aijk∈𝔽q for 1≤i,k≤n. Additionally, write all products of basis elements in terms of the basis, i.e.:

βiβj=∑l=1nmijlβl, mijl∈𝔽q for each 1≤i,j≤n. The system of n equations which is explicit in the wi and quadratic in the uj can be obtained by expanding (1) and equating to zero the coefficients of the βi. Choose two secret affine transformations S and T , i.e. two invertible n×n matrices MS={Sij} and MT={Tij} with entries in 𝔽q and two vectors vS and vT of length n over 𝔽q and define x and y via:

u=Sx=MSx+vS w=Ty=MTy+vT (2) By using the affine relations in (2) to replace the uj,wi with xk,yl, the system of n equations is linear in the yl and of degree 2 in the xk. Applying linear algebra it will give n explicit equations, one for each yl as polynomials of degree 2 in the xk.

Multivariate cryptosystem The basic idea of the HFE family of using this as a multivariate cryptosystem is to build the secret key starting from a polynomial P in one unknown x over some finite field 𝔽qn (normally value q=2 is used). This polynomial can be easily inverted over 𝔽qn, i.e. it is feasible to find any solutions to the equation P(x)=y when such solution exist. The secret transformation either decryption and/or signature is based on this inversion. As explained above P can be identified with a system of n equations (p1,...,pn) using a fixed basis. To build a cryptosystem the polynomial (p1,...,pn) must be transformed so that the public information hides the original structure and prevents inversion. This is done by viewing the finite fields 𝔽qn as a vector space over 𝔽q and by choosing two linear affine transformations S and T. The triplet (S,P,T) constitute the private key. The private polynomial P is defined over 𝔽qn. The public key is (p1,...,pn). Below is the diagram for MQ-trapdoor (S,P,T) in HFE

inputx→x=(x1,...,xn)→secret:Sx′→secret:Py′→secret:Toutputy

HFE polynomial The private polynomial P with degree d over 𝔽qn is an element of 𝔽qn[x]. If the terms of polynomial P have at most quadratic terms over 𝔽q then it will keep the public polynomial small. The case that P consists of monomials of the form xqsi+qti, i.e. with 2 powers of q in the exponent is the basic version of HFE, i.e. P is chosen as

P(x)=∑cixqsi+qti The degree d of the polynomial is also known as security parameter and the bigger its value the better for security since the resulting set of quadratic equations resembles a randomly chosen set of quadratic equations. On the other side large d slows down the deciphering. Since P is a polynomial of degree at most d the inverse of P, denoted by P−1 can be computed in d2(ln⁡d)O(1)n2𝔽q operations.

Encryption and decryption The public key is given by the n multivariate polynomials (p1,...,pn) over 𝔽q. It is thus necessary to transfer the message M from 𝔽qn→𝔽qn in order to encrypt it, i.e. we assume that M is a vector (x1,...,xn)∈𝔽qn. To encrypt message M we evaluate each pi at (x1,...,xn). The ciphertext is (p1(x1,...,xn),p2(x1,...,xn),...,pn(x1,...,xn))∈𝔽qn. To understand decryption let us express encryption in terms of S,T,P. Note that these are not available to the sender. By evaluating the pi at the message we first apply S, resulting in x′. At this point x′ is transferred from 𝔽qn→𝔽qn so we can apply the private polynomial P which is over 𝔽qn and this result is denoted by y′∈𝔽qn. Once again, y′ is transferred to the vector (y1′,...,yn′) and the transformation T is applied and the final output y∈𝔽qn is produced from (y1,...,yn)∈𝔽qn. To decrypt y, the above steps are done in reverse order. This is possible if the private key (S,P,T) is known. The crucial step in the deciphering is not the inversion of S and T but rather the computations of the solution of P(x′)=y′. Since P is not necessary a bijection, one may find more than one solution to this inversion (there exist at most d different solutions X′=(x1′,...,xd′)∈𝔽qn since P is a polynomial of degree d). The redundancy denoted as r is added at the first step to the message M in order to select the right M from the set of solutions X′. The diagram below shows the basic HFE for encryption.

M→+rx→secret:Sx′→secret:Py′→secret:Ty

HFE variations Hidden Field Equations has many modifiers and it is possible to combine them in various way. Here are some common ones:

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Hidden Field Equations

Start with the simplest possible case. Write down what Hidden Field Equations claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Hidden Field Equations before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Hidden Field Equations ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Hidden Field Equations

In research
Hidden Field Equations appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Hidden Field Equations in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Hidden Field Equations is common in secondary-school and first-year university syllabi. It links to neighbouring topics Finite fields, Multivariate cryptography, Public-key encryption schemes, so understanding it makes those chapters shorter.
In everyday life
Look for Hidden Field Equations outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Hidden Field Equations” →

How to study Hidden Field Equations in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Hidden Field Equations means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Hidden Field Equations out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Hidden Field Equations in simple terms?

Hidden Fields Equations (HFE), also known as HFE trapdoor function, is a public key cryptosystem which was introduced at Eurocrypt in 1996 and proposed by (in French) Jacques Patarin following the idea of the Matsumoto and Imai system. It is based on polynomials over finite fields 𝔽q of different…

Why does Hidden Field Equations matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Hidden Field Equations?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Hidden Field Equations.

Tags

  • Finite fields
  • Multivariate cryptography
  • Public-key encryption schemes

Keep exploring