Research Article

Discrete logarithms and primitive roots: Algorithms, properties, and typical solution methods

Junchi Yang*
University of Waterloo

* Corresponding author: [email protected]

Abstract

In mathematics, the logarithm, log_a⁡〖b,〗 where a∈(0,1)∪(1,∞) and b>0, is always defined as the real number x, such that a^x=b. Moreover, in the field of number theory, a similar concept called the discrete logarithm can be defined as follows: For a given positive integer m(m≥2), let a∈N^(+ ) with (a,m)=1, and r is the primitive root of m, x=〖ind〗_r a if r^x≡a (mod m). Here, x is the discrete logarithm. The Discrete Logarithm Problem, which is a famous problem in number theory, is formulized as: For a positive integer b and a prime number p, and a is the primitive root of p, the goal is to find the exact value of i, such that a^i≡b (mod p), in other words, it is targeted at finding the exact value of 〖ind〗_a b. The goal of this research is to give several solutions to the Discrete Logarithm Problem, so firstly, some background concept like order and primitive root will be introduced with the proof of some foundational theories of these two concepts, then this essay will give two methods that can solve the Discrete Logarithm Problem called Shanks' Babystep-Giantstep Algorithm and Pohlig-Hellman Discrete Logarithm Algorithm.

Keywords: Discrete Logarithm; The Discrete Logarithm Problem; Order; Primitive Root
Published: November 30, 2023
DOI: 10.54254/2753-8818/13/20240801
Volume: TNS Vol.13
pp. 95-101
Download PDF

References

  1. Menezes, A.J., van Oorschot, P.C., Vanstone, S.A. Handbook of Applied Cryptography. CRC Press.
  2. Burton, D.M. (1989). The Order of an Integer Modulo n. Elementary Number Theory, 4th ed.
  3. Von zur Gathen, J., Jurgen, G. (2013). Modern Computer Algebra. Cambridge University Press.
  4. Gauss, C.F., Clarke, A.A. (translated into English) (1986). Disquisitiones Arithemeticae (Second, corrected edition), New York: Springer.
  5. Davidson, K.R. (2012). Integers, Polynomials and Finite Fields. University of Waterloo.
  6. Davidson, K.R. (1994). Integer and Polynomial Algebra. University of Waterloo.
  7. Zorzitto, F. (2016). A Taste of Number Theory.
  8. Stromquist, W. (2017). What are Primitive Roots? Mathematics. Bryn Mawr College.
  9. Gauss & Clarke. (1986). Arts 92.
  10. Shanks, D. (1971). Class number, a theory of factorization and genera. In Proc. Symp. Pure Math., Providence, R.I.: American Mathematical Society, vol. 20, pp. 415–440.
  11. Mollin, R. (2006). An Introduction to Cryptography. Chapman and Hall/CRC.p.344.