levo

Data Security, Cryptography and Attack

Caesar and Vernam ciphers and comparing cipher strength

  • 3 things to know
  • Component 2

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.

What is inside Levo

Six ways to work the same material.

1Closed book
2Open book
3Closed book

The 3-step method, run for you

Answer cold, learn it, then prove it stuck. Levo tracks the jump between your first attempt and your last.

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

Cram a whole paper in one sitting

Sort every topic into what you know and what you do not, then drill only the weak ones.

KDW to HAT.
decryptsencryptscompresses

Blank Blitz makes facts automatic

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

AThe two are not the same.
BOpen source refers to the availability of the code.
CMuch open source software is free of charge.

Build It gets the exam shape right

Assemble a full-mark answer from its marking points, in the order an examiner wants them.

Backup means the copy of the data.
TrueFalse

Test It catches misconceptions

Spot the fault in a statement. The traps are the mistakes students actually make.

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.

Attempt a question from memory, write the correct version, then attempt it again. Levo records the jump between your first attempt and your last, and brings each question back on the day you are due to forget it.

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