< Return to Video

Polyalphabetic Cipher

  • 0:05 - 0:08
    A strong cipher is one which disguises your fingerprint.
  • 0:09 - 0:11
    To make a lighter fingerprint
  • 0:11 - 0:14
    is to flatten this distribution of letter frequencies.
  • 0:18 - 0:19
    By the mid 15th century,
  • 0:19 - 0:21
    we had advanced the polyalphabetic ciphers
  • 0:21 - 0:23
    to accomplish this.
  • 0:23 - 0:28
    Imagine Alice and Bob shared a secret shift word.
  • 0:28 - 0:31
    First, Alice converts the word into numbers
  • 0:31 - 0:33
    according of the letter position in the alphabet.
  • 0:33 - 0:38
    Next, this sequence of numbers is repeated along the message.
  • 0:39 - 0:42
    Then each letter in the message is encrypted
  • 0:42 - 0:44
    by shifting according to the number below it.
  • 0:45 - 0:49
    Now, she's using multiple shifts instead of a single shift
  • 0:49 - 0:54
    across the message as Caesar had done before.
  • 0:54 - 0:57
    Then, the encrypted message is sent openly to Bob.
  • 0:58 - 1:02
    Bob decrypts the message by subtracting the shifts
  • 1:02 - 1:05
    according to the secret word he also has a copy of.
  • 1:06 - 1:08
    Now imagine a codebreaker, Eve,
  • 1:08 - 1:10
    intercepts a series of messages
  • 1:10 - 1:13
    and calculates the letter frequencies,
  • 1:14 - 1:18
    she'll find a flatter distribution or a lighter fingerprint,
  • 1:18 - 1:21
    so how could she break this?
  • 1:23 - 1:26
    Remember, codebreakers look for information leaked,
  • 1:26 - 1:29
    the same as finding a partial fingerprint.
  • 1:29 - 1:32
    Any time there's a differential in letter frequencies,
  • 1:32 - 1:35
    a leak of information occurs.
  • 1:36 - 1:40
    This difference is caused by repetition in the encrypted message.
  • 1:42 - 1:46
    In this case, Alice's cipher contains a repeating code word.
  • 1:47 - 1:51
    To break the encryption, Eve would first need to determine
  • 1:51 - 1:56
    the length of the shift word used, not the word itself.
  • 1:56 - 1:57
    She'll need to go through
  • 1:57 - 2:00
    and check the frequency distribution of different intervals.
  • 2:00 - 2:04
    When she checks the frequency distribution of every fifth letter,
  • 2:04 - 2:08
    the fingerprint will reveal itself.
  • 2:08 - 2:10
    The problem now, is to break five Caesar ciphers
  • 2:10 - 2:13
    in a repeating sequence.
  • 2:13 - 2:15
    Individually, this is a trivial task
  • 2:15 - 2:17
    as we have seen before,
  • 2:17 - 2:20
    the added strength of the cipher is the time taken
  • 2:20 - 2:23
    to determine the length of shift word used.
  • 2:23 - 2:27
    The longer the shift word, the stronger the cipher.
Title:
Polyalphabetic Cipher
Description:

Creating a lighter fingerprint with a more intricate word-based cipher

more » « less
Video Language:
English
Duration:
02:27
gil_mo edited English subtitles for Polyalphabetic Cipher
Alex Mou edited English subtitles for Polyalphabetic Cipher
Alex Mou edited English subtitles for Polyalphabetic Cipher
chaichontat edited English subtitles for Polyalphabetic Cipher
chaichontat edited English subtitles for Polyalphabetic Cipher
chaichontat added a translation

English subtitles

Revisions