Re: Factoring integers on a classical computer

From: Pubkeybreaker (Robert_silverman_at_raytheon.com)
Date: 03/14/05

  • Next message: cafeinst_at_msn.com: "Re: Factoring integers on a classical computer"
    Date: 14 Mar 2005 06:14:21 -0800
    
    

    No, they do not. The best sequence of algorithms depends on the size
    of the
    composite.

    For a composite up to 20 digits or so, I would do trial division up to
    about 1000,
    followed by QS. My 1.5GHz Pentium IV will do all numbers of this
    size in (worst case)
    about 15 milliseconds, and average case about 3 milliseconds.

    For a composite up to about 50 digits, I do trial division up about
    10K, followed
    by a few thousand iterations of Pollard Rho, followed by ECM (up to
    about 1 minute of
    CPU time), followed by QS. Worst case: maybe 6 minutes. Average
    case 'about'
    1 minute.

    For a composite up to 100 digits, I spend quite a bit more time (say
    2-3 hours) with
    ECM, followed by QS. Worst case: 48 hours, average case: I don't
    know.

    For larger composites I spend a lot more time with ECM, then use GNFS.
    The
    exact time with ECM depends on the size of the composite. See my paper
    (with Sam Wagstaff Jr.)

    "A Practical Analysis of the Elliptic Curve Factoring Algorithm" for
    an analysis
    of how long to run ECM being changing over to QS or GNFS.

    I do not bother with P-1 at all anymore, unless I know a priori that
    P-1 has a
    particular factor.

    However, there is no doubt that for numbers in the ~20 digit range,
    both QS and
    SQUFOF are faster than Pollard Rho once small factors are removed by
    trial
    division.


  • Next message: cafeinst_at_msn.com: "Re: Factoring integers on a classical computer"

    Relevant Pages

    • Re: Factoring integers on a classical computer
      ... The best sequence of algorithms depends on the size ... For a composite up to 20 digits or so, I would do trial division up to ... ECM, followed by QS. ...
      (sci.math)
    • Re: A benchmark comparing ECM and triangle number factoring.
      ... digits each with their ratio close to but less than. ... ECM will factor arbitrary composites. ... Your composite is far from arbitrary. ... The fact that a believer is happier than a sceptic is no more to the ...
      (sci.math)
    • Re: Can a certain determination be made on a large composite such as rsa2048?
      ... all readers of this post send me a composite ... either two factors of equal length or one factor 1 or 2 digits ... Here are sixteen 2048-bit RSA public keys n1-n16. ...
      (sci.math)
    • Re: Help on 2^(big)-1
      ... > One could not compute the first 25 digits of the 43rd Mersenne Prime ... > containing more than forty letters from Fermat to Mersenne. ... > composite and is the product of these two primes ...
      (sci.math)
    • Re: dft : property of symmetry for real & even seq
      ... a few times slower than highly composite N). ... Bluestein FFT or Rader FFT). ... are many distinct FFT algorithms, in addition to the most well known ... (I've been repeatedly correcting the popular misconception that N log ...
      (comp.dsp)