Return to Video

Discrete Logarithm Problem

  • 0:01 - 0:04
    - [Voiceover] We need
    a numerical procedure,
  • 0:04 - 0:07
    which is easy in one direction
    and hard in the other.
  • 0:07 - 0:10
    This brings us to modular arithmetic,
  • 0:10 - 0:13
    also known as clock arithmetic.
  • 0:13 - 0:17
    For example, to find 46 mod 12,
  • 0:17 - 0:20
    we could take a rope of length 46 units
  • 0:20 - 0:23
    and rap it around a clock of 12 units,
  • 0:23 - 0:25
    which is called the modulus,
  • 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, easy.
  • 0:34 - 0:38
    Now, to make this work,
    we use a prime modulus,
  • 0:38 - 0:43
    such as 17, then we find
    a primitive root of 17,
  • 0:43 - 0:46
    in this case three, which
    has this important property
  • 0:46 - 0:49
    that when raised to different exponents,
  • 0:49 - 0:53
    the solution distributes
    uniformly around the clock.
  • 0:54 - 0:56
    Three is known as the generator.
  • 0:56 - 1:00
    If we raise three to any exponent x,
  • 1:00 - 1:02
    then the solution is equally likely
  • 1:02 - 1:06
    to be any integer between zero and 17.
  • 1:06 - 1:09
    Now, the reverse procedure is hard.
  • 1:09 - 1:12
    Say, given 12, find the exponent
  • 1:12 - 1:15
    three needs to be raised to.
  • 1:15 - 1:18
    This is called the
    discrete logarithm problem.
  • 1:18 - 1:21
    And now we have our one-way function,
  • 1:21 - 1:24
    easy to perform but hard to reverse.
  • 1:24 - 1:26
    Given 12, we would have to resort
  • 1:26 - 1:30
    to trial and error to
    find matching exponents.
  • 1:31 - 1:33
    How hard is this?
  • 1:33 - 1:35
    With small numbers it's easy,
  • 1:35 - 1:37
    but if we use a prime modulus
  • 1:37 - 1:39
    which is hundreds of digits long,
  • 1:39 - 1:42
    it becomes impractical to solve.
  • 1:42 - 1:44
    Even if you had access to all
  • 1:44 - 1:46
    computational power on Earth,
  • 1:46 - 1:47
    it could take thousands of years
  • 1:47 - 1:50
    to run through all possibilities.
  • 1:50 - 1:52
    So the strength of a one-way function
  • 1:52 - 1:55
    is based on the time needed to reverse it.
Title:
Discrete Logarithm Problem
Video Language:
English
Duration:
01:56

English subtitles

Revisions