## Abstract

Several related algorithms are presented for computing logarithms in fields GF(p), p a prime. Heuristic arguments predict a running time of exp((1+o(1)) {Mathematical expression}) for the initial precomputation phase that is needed for each p, and much shorter running times for computing individual logarithms once the precomputation is done. The running time of the precomputation is roughly the same as that of the fastest known algorithms for factoring integers of size about p. The algorithms use the well known basic scheme of obtaining linear equations for logarithms of small primes and then solving them to obtain a database to be used for the computation of individual logarithms. The novel ingredients are new ways of obtaining linear equations and new methods of solving these linear equations by adaptations of sparse matrix methods from numerical analysis to the case of finite rings. While some of the new logarithm algorithms are adaptations of known integer factorization algorithms, others are new and can be adapted to yield integer factorization algorithms. © 1986 Springer-Verlag New York Inc.