Skip to main content

A general number field sieve implementation

  • Conference paper
  • First Online:
The development of the number field sieve

Part of the book series: Lecture Notes in Mathematics ((LNM,volume 1554))

Abstract

The general number field sieve is the asymptotically fastest—and by far most complex—factoring algorithm known. We have implemented this algorithm, including five practical improvements: projective polynomials, the lattice sieve, the large prime variation, character columns, and the positive square root method. In this paper we describe our implementation and list some factorizations we obtained, including the record factorization of 2523 − 1.

Thanks to Joe Buhler, Hendrik Lenstra, John Pollard, and Carl Pomerance for their helpful suggestions, and to Andrew Odlyzko for his help with the factorization of 2523 − 1. The first author was supported in part by a National Science Foundation Graduate Fellowship and by Bellcore.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 34.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 44.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. L.M. Adleman, Factoring numbers using singular integers, Proc. 23rd Annual ACM Symp. on Theory of Computing (STOC), New Orleans, May 6–8, 1991, 64–71.

    Google Scholar 

  2. W. Bosma, M.-P. van der Hulst, Primality proving with cyclotomy, Universiteit van Amsterdam, 1990.

    Google Scholar 

  3. J.P. Buhler, H.W. Lenstra, Jr., C. Pomerance, Factoring integers with the number field sieve, this volume, pp. 50–94.

    Google Scholar 

  4. J.-M. Couveignes, Computing a square root for the number field sieve, this volume, pp. 95–102.

    Google Scholar 

  5. J.A. Davis, D.B. Holdridge, Factorization using the quadratic sieve algorithm, Tech. Report SAND 83-1346, Sandia National Laboratories, Albuquerque, New Mexico, 1983.

    Google Scholar 

  6. B. Dixon, A.K. Lenstra, Factoring integers using SIMD sieves, Advances in Cryptology, Eurocrypt ′93, to appear.

    Google Scholar 

  7. D.E. Knuth, The art of computer programming, volume 2, Seminumerical algorithms, second edition, Addison-Wesley, Reading, Massachusetts, 1981.

    MATH  Google Scholar 

  8. A.K. Lenstra, H.W. Lenstra, Jr., M.S. Manasse, J.M. Pollard, The factorization of the ninth Fermat number, Math. Comp. 61 (1993), to appear.

    Google Scholar 

  9. A.K. Lenstra, H.W. Lenstra, Jr., M.S. Manasse, J.M. Pollard, The number field sieve, this volume, pp. 11–42.

    Google Scholar 

  10. A.K. Lenstra, M.S. Manasse, Factoring with two large primes, Math. Comp., to appear.

    Google Scholar 

  11. H.W. Lenstra, Jr., Factoring integers with elliptic curves, Ann. of Math. 126 (1987), 649–673.

    Article  MathSciNet  MATH  Google Scholar 

  12. F. Morain, Implementation of the Goldwasser-Kilian-Atkin primality testing algorithm, INRIA report 911, INRIA-Rocquencourt, 1988.

    Google Scholar 

  13. J.M. Pollard, The lattice sieve, this volume, pp. 43–49.

    Google Scholar 

  14. C. Pomerance, The quadratic sieve factoring algorithm, Lecture Notes in Comput. Sci. 209 (1985), 169–182.

    Article  MathSciNet  MATH  Google Scholar 

  15. D. Wiedemann, Solving sparse linear equations over finite fields, IEEE Trans. Inform. Theory 32 (1986), 54–62.

    Article  MathSciNet  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Arjen K. Lenstra Hendrik W. Lenstra Jr.

Rights and permissions

Reprints and permissions

Copyright information

© 1993 Springer-Verlag

About this paper

Cite this paper

Bernstein, D.J., Lenstra, A.K. (1993). A general number field sieve implementation. In: Lenstra, A.K., Lenstra, H.W. (eds) The development of the number field sieve. Lecture Notes in Mathematics, vol 1554. Springer, Berlin, Heidelberg. https://doi.org/10.1007/BFb0091541

Download citation

  • DOI: https://doi.org/10.1007/BFb0091541

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-57013-4

  • Online ISBN: 978-3-540-47892-8

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics