14.07.2013 Views

dissertacao.pdf

dissertacao.pdf

dissertacao.pdf

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

2.2.4 General Number Field Sieve<br />

The General Number Field Sieve (GNFS) is the fastest known general purpose<br />

method for factoring large integers. For this reason, it is very suitable for<br />

attacking RSA, as the factors p and q are balanced and so N does not have a<br />

small factor, which makes the special purpose algorithms weaker.<br />

For a pleasant reading about the contributions several people gave to the<br />

development of this algorithm and a simple explanation of its procedure one<br />

can read [36].<br />

The GNFS is an extremely complex algorithm using results from several<br />

fields of mathematics and for this reason it was not possible to present it in<br />

our work. For an extensive explanation of the mathematical basis behind this<br />

algorithm we suggest the reading of [6]. The running time of the GNFS for<br />

factoring an integer N of size n is E(n) = exp(1.923n 1<br />

3 log 2<br />

3 n)[4][24].<br />

As the state of the art in integer factoring, GNFS’s complexity has a double<br />

importance: attacks on RSA which take more time than GNFS to factor the<br />

number are not interesting anymore.<br />

GNFS actually holds the record for the largest general integer ever factored,<br />

the RSA-200, a number with 200 digits.<br />

2.3 Overview of the Different Methods<br />

Regarding the primality tests we described, clearly AKS is the most promising<br />

one. For this reason, developments regarding this algorithm should be followed<br />

closely. In what concerns the probabilistic tests described before, we think that<br />

the Miller-Rabin test is the most efficient and reliable test. It is of special in-<br />

terest that, if some advances will be made, it can become an extremely simple<br />

polynomial time deterministic test. Finally, FTP was included solely for demon-<br />

strative purposes and the Solovay-Strassen test was included because it was the<br />

(now obsolete) primality test proposed in the original RSA article[38].<br />

Regarding the factorization algorithms presented in this work, Fermat’s fac-<br />

torization method does not present a serious menace for a RSA session unless<br />

the primes chosen are (almost) consecutive. It is usually advised to use Pollard’s<br />

ρ method to find factors of up to 30 bits [11] and then switch to the Elliptic<br />

Curve Method if we are searching for factors larger than 30 bits. However, recent<br />

developments described in [11] suggest that this number of bits should actually<br />

31

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!