Eduqas A-Level Computer Science A500QS
Data Structures: Arrays, Records and Hash Tables
Stacks, Queues, Linked Lists and Trees
Boolean Logic and Simplification
Algorithms, Pseudo-Code and Programming Constructs
Variables, Scope, Parameters and Identifiers
Recursion and Modular Programming
Sorting Algorithms
Searching and Shortest-Path Algorithms
Big O Notation and Algorithm Efficiency
Validation, Verification and Testing
Data Compression
Programming Paradigms and Computer Languages
Systems Analysis, Maintenance and Documentation
System Design and Human-Computer Interaction
Software Engineering Tools and Translators
Computing, Society and the Law
Computer Architecture, the Processor and Assembly Language
Input, Output and Secondary Storage
Networks, Protocols and the Internet
Data Transmission and Network Performance
Number Systems and Binary Arithmetic
Data Types, Characters and Floating Point
Files, Records and File Organisation
Databases, Normalisation and Entity Modelling
SQL, Big Data and Distributed Systems
The Operating System and Its Modes
Interrupts, Memory Management and Scheduling
Types of Software System
Data Security, Cryptography and Attack
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.
Encrypt the word HAT using a Caesar cipher with a shift of 3.
Decrypt the ciphertext KDW, knowing the Caesar shift used was 3.
Questions from this subtopic
Each one with the model answer underneath.
- 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
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
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
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
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
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.
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.