# Mathematicians have proven polynomials will not help crack RSA

- Transfer

Quanta recently published a story in which the author talked about a surprising phenomenon from the point of view of inexperienced readers, proved by mathematicians. Its essence is that almost all polynomials of a certain type are irreducible, that is, they cannot be decomposed. This proof is applied in many areas of pure mathematics. But it is also good news for one of the pillars of modern life - digital encryption.

Encryption using the RSA algorithm is widely used to securely store digital information. This is a pumped-up version of the scheme that even a seventh grader can come up with to exchange messages with friends: each letter is assigned its own number, which is multiplied by some secret, pre-specified key. To decrypt a message, simply divide it into a secret key.

RSA encryption works in a similar way. We give a strongly simplified explanation. The user comes up with a message and performs certain mathematical operations on it, including multiplication by a very large number (several hundred digits long). The only way to decrypt a message is to find the prime factors of the result *.

*****

*The prime factors of a number are prime numbers that need to be multiplied to make this number. So, for the number 12 it is 2 * 2 * 3, and for the number 495 it is 3, 3, 5 and 11.*

The security of RSA encryption is based on the fact that fast ways to find prime factors of very large numbers are unknown to mathematics. And if the encrypted message was not intended for you, and you do not have the key to decrypt it, then attempts to find this key can take a good thousand years. And this is true for the most modern computers, with the help of which it is still impossible to find the correct prime factors.

But there is a workaround.Each number can be represented as a unique algebraic equation. And, in contrast to the search for prime factors of a number, the search for prime factors of a polynomial is much easier. And as soon as the polynomial will be decomposed into such prime factors, this information can be used to search for prime factors of the original number.

Here is how it works.

**Step One:**Choose any number whose prime factors you need to know. For simplicity, we take the number 15.

**Step two:**15 translates into a binary system:

1111.

**Step three:**This binary expression becomes a polynomial by converting all binary numbers to the coefficients of a polynomial:

(Note: this polynomial is 15 if x = 2. The number 2 is the base of the binary system.)

**Step four:**The polynomial is decomposed into factors:

**Step five:**x = 2 is substituted into each of these factors:

**Conclusion:**5 and 3 are simple factors of 15.

Yes, this is an unnecessarily complicated way of searching for simple factors of a small number, like 15, which can be easily calculated in the mind. However, when it comes to large numbers consisting of hundreds of digits, this polynomial method gives an amazing advantage. There is no fast algorithm for decomposing primes. But for decomposition of large polynomials such algorithms exist. Therefore, as soon as you manage to turn a large number into a large polynomial, you can get very close to finding the prime factors of a number.

Does this mean that RSA encryption is at risk? Not really. And a new, recently proved regularity about polynomials is connected with this.

Mathematicians Emmanuel Brulya and Peter Warew of the University of Cambridge proved that as the polynomials with coefficients 0 and 1 are lengthened, the probability that they can be expanded completely becomes lower. And if the polynomial cannot be expanded, it means that it cannot be used to find prime factors of the number to be calculated.

The proof of Brulya and Warju actually suggests that a workaround for breaking RSA encryption leads to nowhere. The very large numbers used in RSA correspond to very long polynomials. Cambridge scientists argue that it is almost impossible to find polynomials of that length that can be decomposed. Both cryptographers and mathematicians have long suspected that this is so. However, when global cybersecurity depends on the impossibility of using some mathematical technique, it is always good to have proof that this technique really does not work.