Factorization of Semiprimes: Conditions for Easy Resolution
Theorem 1
The problem of factorizing semiprimes becomes relatively easy under the following conditions:
- (i): is a smooth prime.
- (ii):
Explanation
The meaning of condition (ii) is that when the difference between and is small, it becomes easier to solve, which requires explanation:
- At first glance, if is constrained by , the best way to maximize is to make the difference between and as small as possible. For instance, if , then has its maximum value when .
To prevent solving by brute force, both and should be as large as possible. Suppose is given, then when it is disclosed, the difference is only , but gets solved immediately as the “hard work” begins.
- However, using and of similar sizes for this simplistic reason could be cracked by a two-dimensional thinker. Simply put, if really , an attacker can significantly reduce the candidate solutions near by assuming . If mathematical techniques are applied in this idea, becomes a very easy problem.
Proof
(i)
If is a smooth prime, the Pollard factorization algorithm can be used, making the semiprime factorization problem relatively easy to solve.
■
(ii)
If we set , , then , become primes that are distance apart centered around . Representing this with , which means . Thus, by increasing by in and finding when becomes a square number, we can know what , are, thus making the semiprime factorization problem relatively easy to solve.
■
Examples
As an example, consider . Directly factorizing is not an easy task, but knowing that allows us to immediately find In the context of the text, because it’s , it got solved easily.
On the other hand, let’s make finding this more ingenious. For some , since and are multiples of , simply dividing both sides by gives us the formula for directly. The reason for this cumbersome process is because the formula can be represented like this: Following this method, we find next.
Step 1.
For numbers with a low calculation divisor, find that satisfy .
Step 2. Calculation
Find that satisfy
Step 3.
Using the calculated and , so is a divisor of , which is .
See also
Security algorithms utilizing the difficulty of the factorization problem
Attack algorithms for the factorization problem
- Pollard’s p-1 factorization algorithm
- Conditions for easily solving the semiprime factorization problem
Hoffstein. (2008). An Introduction to Mathematical Cryptography: p133~139. ↩︎