10.12.2012 Views

Prime Numbers

Prime Numbers

Prime Numbers

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

306 Chapter 6 SUBEXPONENTIAL FACTORING ALGORITHMS<br />

of degree less than d is about u−u ,whereu = d/b, for a wide range of the<br />

variables p, d, b.<br />

Now obviously, this does not make too much sense when d is small.<br />

For example, when d = 2, everything is 1-smooth, and about 1/p of the<br />

polynomials are 0-smooth. However, when d is large the index-calculus<br />

method does work for discrete logarithms in Z∗ pd, giving a method that is<br />

subexponential; see [Lovorn Bender and Pomerance 1998].<br />

What, then, of the cases when d>1, but d is not large. There is an<br />

alternative representation of Fpd that is useful in these cases. Suppose K is<br />

an algebraic number field of degree d over the field of rational numbers. Let<br />

OK denote the ring of algebraic integers in K. Ifpis a prime number that<br />

is inert in K, that is, the ideal (p) inOk is a prime ideal, then the quotient<br />

structure OK/(p) isisomorphictoFpd.Thuswemaythinkofmembersof the finite field as algebraic integers. And as we saw with the NFS factoring<br />

algorithm, it makes sense to talk of when an algebraic integer is smooth:<br />

Namely, it is y-smooth if all of the prime factors of its norm to the rationals<br />

are at most y.<br />

Let us illustrate in the case d =2wherepis a prime that is 3 (mod 4).<br />

We take K = Q[i], the field of Gaussian rationals, namely {a + bi : a, b ∈ Q}.<br />

Then OK is Z[i] ={a + bi : a, b ∈ Z}, the ring of Gaussian integers. We<br />

have that Z[i]/(p) is isomorphic to the finite field Fp2. So, the index-calculus<br />

method will still work, but now we are dealing with Gaussian integers a + bi<br />

instead of ordinary integers.<br />

In the case d = 2, the index-calculus method via a quadratic imaginary<br />

field can be made completely rigorous; see [Lovorn 1992]. The use of other<br />

fields are conjecturally acceptable, but the analysis of the index calculus<br />

method in these cases remains heuristic.<br />

There are heuristic methods analogous to the NFS factoring algorithm to<br />

do discrete logs in any finite field Fpd, including the case d = 1. For a wide<br />

range of cases, the<br />

complexity is heuristically brought down to functions of<br />

the shape exp c log pd1/3 <br />

d log log p 2/3 <br />

; see [Gordon 1993], [Schirokauer<br />

et al. 1996], and [Adleman 1994]. These methods may be thought of as grand<br />

generalizations of the index-calculus method, and what makes them work is a<br />

representation of group elements that allows the notion of smoothness. It is for<br />

this reason that cryptographers tend to eschew the full multiplicative group<br />

of a finite field in favor of elliptic-curve groups. With elliptic-curve groups<br />

we have no convenient notion of smoothness, and the index-calculus method<br />

appears to be useless. For these groups, the best DL methods that universally<br />

work all take exponential time.<br />

6.5 Exercises<br />

6.1. You are given a composite number n that is not a power, and a<br />

nontrivial factorization n = ab. Describe an efficient algorithm for finding

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

Saved successfully!

Ooh no, something went wrong!