levo

Data Security, Cryptography and Attack

Caesar and Vernam ciphers and comparing cipher strength

  • 3 things to know
  • Component 2
Start revising · £5/month

Overview

Brute force attack on a cipher, how frequency analysis breaks a simple substitution cipher and three conditions a Vernam cipher must meet to be unbreakable.

What you need to know

Answer each one before you reveal it.

Your recallNot started
Process

How does a Caesar cipher work?

Key term

Encrypt the word HAT using a Caesar cipher with a shift of 3.

Key term

Decrypt the ciphertext KDW, knowing the Caesar shift used was 3.

Questions from this subtopic

Each one with the model answer underneath.

  1. 1

    How does a Caesar cipher work?

    Model answer

    A Caesar cipher shifts every letter of the message the same number of places along the alphabet. The size of the shift is the key.

  2. 2

    Encrypt the word HAT using a Caesar cipher with a shift of 3.

    Model answer

    HAT becomes KDW with a shift of three places. Each letter has moved three positions forward through the alphabet.

  3. 3

    Decrypt the ciphertext KDW, knowing the Caesar shift used was 3.

    Model answer

    KDW decrypts to HAT. Each letter is moved back three places through the alphabet.

  4. 4

    Encrypt the word ZOO with a Caesar shift of 3 and explain what happens at the end of the alphabet.

    Model answer

    ZOO becomes CRR. The shift wraps round from Z to the start again, so Z moves to C.

  5. 5

    Why is a Caesar cipher very weak?

    Model answer

    Only twenty-five useful shifts exist, so all of them can be tried in moments. The pattern of the language then shows which shift is correct.

  6. 6

    What is a brute force attack on a cipher?

    Model answer

    A brute force attack tries every possible key until the output makes sense. The time needed depends on how many keys exist.

Other ways to work this

The same content, four other ways.

Everything in your subscription

Runs, plus a mode for every other kind of session.

1Flash
2Imposter
3Fade
4Brain dump

Learn every subtopic in runs of four questions

Facts flash and fade, a wrong word hides in some of them, and a brain dump decides which questions are locked in.

Data Structures: Arrays, Records and Hash Tables
Stacks, Queues, Linked Lists and Trees
Boolean Logic and Simplification
Algorithms, Pseudo-Code and Programming Constructs

Cram the night before, weakest topic first

A quick scan finds your weakest topics. Recall each fact you missed three times in a row.

KDW to HAT.
decryptsencryptscompresses

Blank Blitz consolidates the facts

Rapid timed gap-fills on the terms and numbers you need to recall without thinking.

✓What it iscovered
~Why it happenspartly there
How long it lastsnot there yet

Explain It tests your understanding

Explain a concept in your own words and see which of its points you covered.

Backup means the copy of the data.
TrueFalse

Test It catches misconceptions

Spot the fault in a statement. The faults are the mistakes students make most often.

721941163128510

Brain Breaks between sessions

Short focus games to reset attention, so the next set lands better than the last.

Every question in Data Security, Cryptography and Attack, on a schedule.

Learn it in runs of four questions, each ending on a brain dump against the clock. Every question you lock in comes back the next day, then at longer gaps, each time just before you would forget it.

Or £46 a year, about £3.83 a month. Cancel anytime.