< Return to Video

Polyalphabetic cipher | Journey into cryptography | Computer Science | Khan Academy

  • 0:05 - 0:09
    A strong cipher is one which
    disguises your fingerprint.
  • 0:09 - 0:12
    To make a lighter
    fingerprint is to flatten
  • 0:12 - 0:13
    this distribution of
    letter frequencies.
  • 0:17 - 0:19
    By the mid-15th
    century, we had advanced
  • 0:19 - 0:23
    to polyalphabetic ciphers
    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 to the letter
    position in the alphabet.
  • 0:33 - 0:37
    Next, this sequence of numbers
    is repeated along the message.
  • 0:39 - 0:41
    Then each letter
    in the message is
  • 0:41 - 0:45
    encrypted by shifting according
    to the number below it.
  • 0:45 - 0:49
    Now she is using multiple
    shifts instead of a single shift
  • 0:49 - 0:51
    across the message, as
    Caesar had done before.
  • 0:54 - 0:58
    Then the encrypted message
    is sent openly to Bob.
  • 0:58 - 1:01
    Bob decrypts the message
    by subtracting the shifts
  • 1:01 - 1:06
    according to the secret
    word he also has a copy of.
  • 1:06 - 1:10
    Now imagine a code breaker, Eve,
    intercepts a series of messages
  • 1:10 - 1:14
    and calculates the
    letter frequencies.
  • 1:14 - 1:17
    She will find a flatter
    distribution, or a lighter
  • 1:17 - 1:18
    fingerprint.
  • 1:18 - 1:22
    So how could she break this?
  • 1:22 - 1:26
    Remember, code breakers
    look for information leak,
  • 1:26 - 1:29
    the same as finding a
    partial fingerprint.
  • 1:29 - 1:32
    Any time there is a differential
    in letter frequencies,
  • 1:32 - 1:33
    a leak of information occurs.
  • 1:36 - 1:38
    This difference is
    caused by repetition
  • 1:38 - 1:39
    in the encrypted message.
  • 1:42 - 1:47
    In this case, Alice's cipher
    contains a repeating code word.
  • 1:47 - 1:50
    To break the encryption,
    Even would first
  • 1:50 - 1:52
    need to determine the
    length of this shift
  • 1:52 - 1:56
    word used, not the word itself.
  • 1:56 - 1:58
    She will need to go through
    and check the frequency
  • 1:58 - 2:01
    distribution of
    different intervals.
  • 2:01 - 2:02
    When she checks the
    frequency distribution
  • 2:02 - 2:07
    of every fifth letter, the
    fingerprint will reveal itself.
  • 2:07 - 2:10
    The problem now is to
    break five Cesar Ciphers
  • 2:10 - 2:13
    in a repeating sequence.
  • 2:13 - 2:17
    Individually this is a trivial
    task, as we have seen before.
  • 2:17 - 2:19
    The added strength
    of this cipher
  • 2:19 - 2:21
    is the time taken to determine
    the length of the shift
  • 2:21 - 2:23
    word used.
  • 2:23 - 2:26
    The longer the shift word,
    the stronger the cipher.
Title:
Polyalphabetic cipher | Journey into cryptography | Computer Science | Khan Academy
Description:

Converting fractions to decimals sometimes requires us to brush up on our long division skills. We'll walk you through it.

Practice this lesson yourself on KhanAcademy.org right now: https://www.khanacademy.org/math/pre-algebra/decimals-pre-alg/decimal-to-fraction-pre-alg/e/converting_fractions_to_decimals?utm_source=YT&utm_medium=Desc&utm_campaign=PreAlgebra

Watch the next lesson: https://www.khanacademy.org/math/pre-algebra/decimals-pre-alg/decimal-to-fraction-pre-alg/v/decimals-and-fractions?utm_source=YT&utm_medium=Desc&utm_campaign=PreAlgebra

Missed the previous lesson?
https://www.khanacademy.org/math/pre-algebra/decimals-pre-alg/decimal-to-fraction-pre-alg/v/converting-fractions-to-decimals?utm_source=YT&utm_medium=Desc&utm_campaign=PreAlgebra

Pre-Algebra on Khan Academy: No way, this isn't your run of the mill arithmetic. This is Pre-algebra. You're about to play with the professionals. Think of pre-algebra as a runway. You're the airplane and algebra is your sunny vacation destination. Without the runway you're not going anywhere. Seriously, the foundation for all higher mathematics is laid with many of the concepts that we will introduce to you here: negative numbers, absolute value, factors, multiples, decimals, and fractions to name a few. So buckle up and move your seat into the upright position. We're about to take off!

About Khan Academy: Khan Academy offers practice exercises, instructional videos, and a personalized learning dashboard that empower learners to study at their own pace in and outside of the classroom. We tackle math, science, computer programming, history, art history, economics, and more. Our math missions guide learners from kindergarten to calculus using state-of-the-art, adaptive technology that identifies strengths and learning gaps. We've also partnered with institutions like NASA, The Museum of Modern Art, The California Academy of Sciences, and MIT to offer specialized content.

For free. For everyone. Forever. #YouCanLearnAnything

Subscribe to KhanAcademy’s Pre-Algebra channel:: https://www.youtube.com/channel/UCIMlYkATtXOFswVoCZN7nAA?sub_confirmation=1
Subscribe to KhanAcademy: https://www.youtube.com/subscription_center?add_user=khanacademy

more » « less
Video Language:
English
Team:
Khan Academy
Duration:
02:27

English subtitles

Revisions Compare revisions