A 2kΞ² Algorithm for Euler function πœ™(n) Decryption of RSA

Sang-Un Lee Β· Journal of the Korea Society of Computer and Information Β· 2014

λŒ€ν‘œμ μΈ κ³΅κ°œν‚€ μ•”ν˜Έλ°©μ‹μΈ RSA에 μ‚¬μš©λ˜λŠ” ν•©μ„±μˆ˜ n=pq의 큰자리 μ†Œμˆ˜ p,qλ₯Ό μ†ŒμΈμˆ˜λΆ„ν•΄ν•˜μ—¬ κ΅¬ν•˜λŠ” 것은 사싀상 λΆˆκ°€λŠ₯ν•˜λ‹€. κ³΅κ°œν‚€ e와 ν•©μ„±μˆ˜ n은 μ•Œκ³  κ°œμΈν‚€ dλ₯Ό λͺ¨λ₯Ό λ•Œ, ${\phi}(n)=(p-1)(q-1)=n+1-(p+q)$ 을 κ΅¬ν•˜μ—¬ $d=e^{-1}(mod{\phi}(n))$ 의 μ—­ν•¨μˆ˜λ‘œ κ°œμΈν‚€ dλ₯Ό ν•΄λ…ν• μˆ˜ μžˆλ‹€. λ”°λΌμ„œ ${\phi}(n)$ 을 μ•ŒκΈ°μœ„ν•΄ nμœΌλ‘œλΆ€ν„° p,qλ₯Ό κ΅¬ν•˜λŠ” μˆ˜ν•™μ  λ‚œμ œμΈ μ†ŒμΈμˆ˜λΆ„ν•΄λ²•μ„ μ μš©ν•˜κ³  μžˆλ‹€. μ†ŒμΈμˆ˜λΆ„ν•΄λ²•μ—λŠ” n/p=q의 λ‚˜λˆ—μ…ˆ μ‹œν–‰λ²•λ³΄λ‹€λŠ” $a^2{\equiv}b^2(mod\;n)$ , a=(p+q)/2,b=(q-p)/2의 μ œκ³±ν•©λ™λ²•μ΄ 일반적으둜 적용되고 μžˆλ‹€. κ·ΈλŸ¬λ‚˜ λ‹€μ–‘ν•œ μ œκ³±ν•©λ™λ²•μ΄ μ‘΄μž¬ν•¨μ—λ„ λΆˆκ΅¬ν•˜κ³  μ•„μ§κΉŒμ§€λ„ λ§Žμ€ RSA μˆ˜λ“€μ΄ ν•΄λ…λ˜μ§€ μ•Šκ³  μžˆλ‹€. λ³Έ 논문은 ${\phi}(n)$ 을 직접 κ΅¬ν•˜λŠ” μ•Œκ³ λ¦¬μ¦˜μ„ μ œμ•ˆν•˜μ˜€λ‹€. μ œμ•ˆλœ μ•Œκ³ λ¦¬μ¦˜μ€ $2^j{\equiv}{\beta}_j(mod\;n)$ , $2^{{\gamma}-1}$ < n < $2^{\gamma}$ , $j={\gamma}-1,{\gamma},{\gamma}+1$ 에 λŒ€ν•΄ $2^k{\beta}_j{\equiv}2^i(mod\;n)$ , $0{\leq}i{\leq}{\gamma}-1$ , $k=1,2,{\ldots}$ λ˜λŠ” $2^k{\beta}_j=2{\beta}_j$ 둜 ${\phi}(n)$ 을 κ΅¬ν•˜μ˜€λ‹€. μ œμ•ˆλœ μ•Œκ³ λ¦¬μ¦˜μ€ $n-10{\lfloor}{\sqrt{n}}{\rfloor}$ < ${\phi}(n){\leq}n-2{\lfloor}{\sqrt{n}}{\rfloor}$ 의 μž„μ˜μ˜ μœ„μΉ˜μ— μ‘΄μž¬ν•˜λŠ” ${\phi}(n)$ 도 μ•½ 2λ°° 차이의 μˆ˜ν–‰νšŸμˆ˜λ‘œ 찾을 수 μžˆμ—ˆλ‹€. There is to be virtually impossible to solve the very large digits of prime number p and q from composite number n=pq using integer factorization in typical public-key cryptosystems, RSA. When the public key e and the composite number n are known but the private key d remains unknown in an asymmetric-key RSA, message decryption is carried out by first obtaining ${\phi}(n)=(p-1)(q-1)=n+1-(p+q)$ and then using a reverse function of $d=e^{-1}(mod{\phi}(n))$ . Integer factorization from n to p,q is most widely used to produce ${\phi}(n)$ , which has been regarded as mathematically hard. Among various integer factorization methods, the most popularly used is the congruence of squares of $a^2{\equiv}b^2(mod\;n)$ , a=(p+q)/2,b=(q-p)/2 which is more commonly used then n/p=q trial division. Despite the availability of a number of congruence of scares methods, however, many of the RSA numbers remain unfactorable. This paper thus proposes an algorithm that directly and immediately obtains ${\phi}(n)$ . The proposed algorithm computes $2^k{\beta}_j{\equiv}2^i(mod\;n)$ , $0{\leq}i{\leq}{\gamma}-1$ , $k=1,2,{\ldots}$ or $2^k{\beta}_j=2{\beta}_j$ for $2^j{\equiv}{\beta}_j(mod\;n)$ , $2^{{\gamma}-1}$ < n < $2^{\gamma}$ , $j={\gamma}-1,{\gamma},{\gamma}+1$ to obtain the solution. It has been found to be capable of finding an arbitrarily located ${\phi}(n)$ in a range of $n-10{\lfloor}{\sqrt{n}}{\rfloor}$ < ${\phi}(n){\leq}n-2{\lfloor}{\sqrt{n}}{\rfloor}$ much more efficiently than conventional algorithms.

Read the paper Β· More papers on PaperTik