DOI QR코드

DOI QR Code

n+1 소인수분해 알고리즘

The n+1 Integer Factorization Algorithm

  • 최명복 (강릉원주대학교 멀티미디어공학과) ;
  • 이상운 (강릉원주대학교 멀티미디어공학과)
  • 투고 : 2011.03.13
  • 심사 : 2011.04.15
  • 발행 : 2011.04.30

초록

$n=pq$인 합성수 을 크기가 비슷한 p와 q로 소인수분해하는 것은 매우 어려운 문제이다. 대부분의 소인수분해 알고리즘은 $a^2{\equiv}b^2$ (mod $n$)인 제곱 합동이 되는 ($a,b$)를 소수의 곱 (인자 기준, factor base, B)으로 찾아 $a^2-b^2=(a-b)(a+b)$ 공식에 의거 유클리드의 최대공약수 공식을 적용하여 $p=GCD(a-b,n)$, $q=GCD(a+b,n)$으로 구한다. 여기서 ($a,b$)를 얼마나 빨리 찾는가에 알고리즘들의 차이가 있으며, B를 결정하는 어려움이 있다. 본 논문은 좀 더 효율적인 알고리즘을 제안한다. 제안된 알고리즘에서는 $n+1$을 3자리 소수까지 소인수분해하여 B를 추출하고 B의 조합 $f$를 결정한다. 다음으로, $a=fxy$가 되는 값을 $\sqrt{n}$ < $a$ < $\sqrt{2n}$ 범위에서 구하여 $n-2$의 소인수분해로 $x$를 얻고, $y=\frac{a}{fx}$, $y_1$={1,3,7,9}을 구한다. 제안된 알고리즘을 몇 가지 사례에 적용한 결과 $\sqrt{n}$ < $a$를 순차적으로 찾는 기존의 페르마 알고리즘에 비해 수행 속도를 현격히 단축시키는 효과를 얻었다.

It is very difficult to factorize composite number, $n=pq$ to integer factorization, p and q that is almost similar length of digits. Integer factorization algorithms, for the most part, find ($a,b$) that is congruence of squares ($a^2{\equiv}b^2$ (mod $n$)) with using factoring(factor base, B) and get the result, $p=GCD(a-b,n)$, $q=GCD(a+b,n)$ with taking the greatest common divisor of Euclid based on the formula $a^2-b^2=(a-b)(a+b)$. The efficiency of these algorithms hangs on finding ($a,b$) and deciding factor base, B. This paper proposes a efficient algorithm. The proposed algorithm extracts B from integer factorization with 3 digits prime numbers of $n+1$ and decides f, the combination of B. And then it obtains $x$(this is, $a=fxy$, $\sqrt{n}$ < $a$ < $\sqrt{2n}$) from integer factorization of $n-2$ and gets $y=\frac{a}{fx}$, $y_1$={1,3,7,9}. Our algorithm is much more effective in comparison with the conventional Fermat algorithm that sequentially finds $\sqrt{n}$ < $a$.

키워드

참고문헌

  1. Wikipedia, "RSA," http://en.wikipedia.org/wiki/Rsa, 2010.
  2. Wikipedia,"Integer Factorization," http://en.wikipedia.org/wiki/Integer_factorization, 2010.
  3. Wikipedia, "RSA Factoring Challenge," http://en.wikipedia.org/wiki/RSA_Factoring_ Challenge, 2010.
  4. Wikipedia, "Fermat's Factorization Method," http://en.wikipedia.org/wiki/Fermat's_factorization _method, 2010.
  5. Wikipedia, "Dixon's Factorization Method," http://en.wikipedia.org/wiki/Dixon%27s_ factorization_method, 2010.
  6. Wikipedia, "Quadratic Sieve," http://en.wikipedia.org/wiki/Quadratic_sieve, 2010.
  7. Wikipedia, "General Number Field Sieve," http://en.wikipedia.org/wiki/General_number _field_sieve, 2010.
  8. Wikipedia, "Rational Sieve," http://en.wikipedia.org/wiki/Rational_sieve, 2010.
  9. 김승주, "공개키 암호 방식," School of Information and Communication Engineering, Sungkyunkwan University, http://dosan.skku.or.kr/-sjkim/Lecture Notes/SKKU/2006/ECE3063/Lec05(crypto).pdf, 2007.
  10. P. L. Jensen, "pGNFS," http://pgnfs.org/index.php?page= Results, 2009.