Roots of Congruence Equations
Algorithm 1
The solution to the congruence equation , given that natural number satisfies , can be calculated as follows:
Step 1.
Calculate .
Step 2.
Find that satisfies , and obtain by raising both sides to the power of .
Step 3.
Calculate using the Exponentiation by Squaring method.
Explanation
is the Euler’s Totient function which has a multiplicative property, making the factorization of critical.
As is known, factorization has no royal road and is extremely difficult, especially when a enormously large prime number exists, such that if , then starting from finding becomes challenging. At first glance, this seems like a disadvantage, but on the contrary, this can be used to treat as if it were a code. Even if and are publicly known, it is extremely difficult to calculate without knowing the factorization of . Therefore, can be a great encryption system if only those who are eligible to know it have information on the factorization of . Such an encryption system is known as the RSA encryption.
This algorithm suggests that finding very large prime numbers has practical significance.
Proof
The existence of integer solution satisfying is guaranteed, and since ,
Since , simply calculate . Although condition was not satisfied, the obtained in this way poses no problem as a solution to the given congruence equation.
Since we assumed , the following holds:
■
Silverman. (2012). A Friendly Introduction to Number Theory (4th Edition): p119. ↩︎