Current Article  

General number field sieve

In mathematics,general number field sieve ismost efficient algorithm knownfactoring integers. It uses O(exp( ((64/9) n)1/3 (log n)2/3 )) stepsfactor integer n.

Itan improvementolder sieving method which factors n by finding numbers ki such that ri=ki2-n factor completely overfixed set (called basis)small primes. Then, having enough such ri - whichcalled smooth relative tochosen basisprimes, using Gauss elimination methodlinear algebra we can choose exponents ci equal0 or 1 such that productrici issquare, say x2. Onother hand, ifproductkiciy, then x2-y2divisible by nwith probability at least one half we getfactorn by finding greatest common divisornx-y. In this method,idea waschoose ki close tosquare rootn - then riofordermagnitudesquare rootn toothereenough smooth values there.

The general number field sieve''' works as follows:

The second-best-known algorithminteger factorization isLenstra elliptic curve factorization method. Itbetter thangeneral number field sieve when factorsof small size, asworks by finding smooth valuesorder ofsmallest prime divisorn,its running time depends onsizethis divisor.

Copyright 2004. All rights reserved.