Factorization

Factorization

Factorization refers to breaking down a number into smaller numbers that, when multiplied together, produce the original number. It is central to IT security: certain encryption methods are considered secure because factoring very large numbers is practically unsolvable even for supercomputers.

Factorization means breaking down a number into smaller numbers that are multiplied together. For example, the number 15 can be broken down into 3 and 5, since 3 × 5 = 15. If you break a number down as far as possible, this is called prime factorization — that is, a decomposition into prime numbers, which are only divisible by 1 and themselves. The number 12, for instance, yields 2 × 2 × 3. This sounds like pure mathematics, but it has a direct bearing on the security of passwords, online banking, and encrypted messages.

The foundation of many encryption methods

Some mathematical tasks are easy to compute but hard to reverse. Multiplying two prime numbers together takes the blink of an eye. Breaking the product back down into its two prime factors, on the other hand, can take millions of years — if the numbers are large enough.

It is precisely this asymmetry that the RSA encryption method, used since the 1970s, is built on. RSA uses two secret prime numbers that together form a very large number. Whoever knows the two factors can decrypt messages. Whoever doesn’t would first have to factorize the number — and in practice, fails to do so.

In modern systems, these numbers are several hundred digits long. Even the fastest computer today would take longer than the universe has existed to try out all the possibilities. Factorization is not a theoretical problem — it is what makes encryption secure in practice.

Why classical algorithms reach their limits

There are various methods for factorizing a number. The simplest: trying all prime numbers in sequence as divisors. This works well for small numbers but fails for large ones, because the number of possible primes grows explosively with the length of the number. For a 300-digit number, this approach is utterly hopeless.

More sophisticated methods — such as the so-called general number field sieve — are significantly more efficient. Today they are considered the fastest thing classical computers can achieve. Nevertheless, even they fail when faced with numbers of the length found in real encryption systems. The factorization of large numbers is not a lack of creativity, but a mathematically proven obstacle.

A common misconception is to confuse factorization with simple division. The difference is crucial: division is solved using a known divisor, while factorization first has to find the unknown divisors. It’s like the difference between “How much is 123 ÷ 3?” and “Which prime numbers can 123 be divided by?”

Factorization in the age of quantum computers

In 1994, mathematician Peter Shor developed an algorithm that would dramatically speed up factorization on a quantum computer. A quantum computer uses principles of quantum mechanics to perform many calculations simultaneously. Shor’s algorithm could crack RSA keys — which would take a classical computer millions of years — in a matter of hours.

So far, no quantum computers exist that are large enough to attack real encryption keys. Nevertheless, the security industry is already preparing. Agencies such as the US National Institute of Standards and Technology (NIST) adopted initial encryption standards in 2024 that are also secure against quantum computers — often grouped under the term “post-quantum cryptography.”

In the news, factorization therefore tends to appear in two contexts: when new records for cracking large numbers are reported — in 2020, an 829-digit number was factorized, which made headlines at the time — or when reports cover the future of data security in the quantum age. So anyone who reads that an encryption method has been “broken” is almost always, indirectly, encountering the problem of factorization.

Subscribe free. Unsubscribe the second it sucks.

High-signal news across AI, business, UX, and tech. Every morning.