Math 2.0

Number theory Definition

Discrete logarithm

Builds on Primitive root modulo n

Definition

Let GG be a finite cyclic group of order NN, with a generator gg. For each h∈Gh \in G, the discrete logarithm of hh to the base gg is the unique integer kk with 0≤k<N0 \le k < N such that gk=hg^k = h. The notation is k=log⁡ghk = \log_g h.

Remarks

In elementary number theory, G=(ℤ/nℤ)×G = (\mathbb{Z}/n\mathbb{Z})^\times and gg is a primitive root modulo nn. Then log⁡ga\log_g a is also called the index of aa, and N=φ(n)N = \varphi(n). The rule log⁡g(h1h2)≡log⁡gh1+log⁡gh2(modN)\log_g (h_1 h_2) \equiv \log_g h_1 + \log_g h_2 \pmod N holds, as for ordinary logarithms. For example, 33 is a primitive root modulo 77, and 34=81≡4(mod7)3^4 = 81 \equiv 4 \pmod 7. So log⁡34=4\log_3 4 = 4 modulo 77. No efficient general algorithm to compute discrete logarithms is known. The Diffie–Hellman key exchange uses this fact.

Reading path

To understand this page from the ground up, read these 9 pages in order. The foundations come first.

Show the path as a graph
Each page uses the pages above it. The colour of the bar on a box shows how strong the evidence is, and the box also gives it as text. The list has the same pages.
  • no evidence level
  1. Divisibility definition
  2. Congruence modulo n definition
  3. Greatest common divisor definition
  4. Coprime integers definition
  5. Euler's totient function definition
  6. Euler's theorem statement
  7. Multiplicative order definition
  8. Primitive root modulo n definition
  9. Discrete logarithm definition

Where this leads

1 page builds on this one.

Further reading

  1. Web https://en.wikipedia.org/wiki/Discrete_logarithm, Definition
About this page
Tag09B4X51J09
URIm2://09B4X51J09
Aliasesindex
Kinddefinition
WritingW1 stated
MSC11A07
DefinesDiscrete logarithm
UsesPrimitive root modulo n

Markdown · JSON · Edit on GitHub

What this page needs for W2

  • edge instance_of in: one example (0 of 1)
  • edge not_instance_of in: one non-example that fails one clause (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

Used by