Return to Video

Discrete Logarithm Problem

  • 0:02 - 0:06
    We need a numerical procedure which is easy in one direction,
  • 0:06 - 0:08
    and hard in the other.
  • 0:08 - 0:13
    This brings us to modular arithmetic, also known as clock arithmetic.
  • 0:13 - 0:20
    For example, to find 46 mod 12, we can take a rope of length 46 units,
  • 0:20 - 0:25
    and wrap it around a clock 12 units which is called the modulist,
  • 0:25 - 0:28
    and where the rope ends is the solution.
  • 0:28 - 0:33
    So we say 46 mod 12 is congruent to 10.
  • 0:33 - 0:39
    Easy. Now to make this work, we use a prime modulist, such as 17.
  • 0:39 - 0:44
    Then we find a primitive root of 17, in this case, 3.
  • 0:44 - 0:49
    Which has this important property that when raised to different exponents,
  • 0:49 - 0:53
    the solution distributes uniformly around the clock.
  • 0:53 - 1:00
    3 is known as the generator. If we raise 3 to any exponent x,
  • 1:00 - 1:06
    then the solution is equally likely to be any integer between 0 and 17.
  • 1:06 - 1:09
    Now, the reverse procedure is hard.
  • 1:09 - 1:14
    Say, given 12, find the exponent 3 needs to be raised to.
  • 1:14 - 1:18
    This is called the Discrete Logarithm problem.
  • 1:18 - 1:20
    And now we have our one way function.
  • 1:20 - 1:24
    Easy to perform, but hard to reverse.
  • 1:24 - 1:30
    Given 12, we would have to resort to trial and error to find matching exponents.
  • 1:30 - 1:33
    How hard is this?
  • 1:33 - 1:39
    Well with small numbers it's easy, but if we use a prime modulist which is hundreds of digits long,
  • 1:39 - 1:42
    it becomes impractical to solve.
  • 1:42 - 1:47
    Even if you had access to all computational power on earth, it could take thousands of years
  • 1:47 - 1:50
    to run through all possibilities.
  • 1:50 - 1:54
    So the strength of a one way function is based on the time needed to reverse it.
Title:
Discrete Logarithm Problem
Description:

Discrete Logarithm Problem - modular arithmetic

more » « less
Video Language:
English
Duration:
01:56
romanberla edited English subtitles for Discrete Logarithm Problem
Kazuaki Kumagai edited English subtitles for Discrete Logarithm Problem
tamp added a translation

English subtitles

Revisions