Edexcel IGCSE Computer Science 4CP0
Algorithms
Searching and Sorting Algorithms
Decomposition and Abstraction
Developing and Testing Code
Programming Constructs and Operators
Data Types and Data Structures
Input, Output and Validation
Data Representation
Data Storage and Compression
Encryption
Hardware and the CPU
Software
Programming Languages and Translators
Networks
Network Security
The Internet and the World Wide Web
Emerging Trends, Issues and Impact
Encryption
Caesar and Vigenère ciphers
- 3 things to know
- Papers 1 and 2
Overview
How Caesar and Vigenère ciphers work, worked encryption and decryption, and why the Vigenère cipher is harder to break.
What you need to know
Answer each one before you reveal it.
Encrypt the word ZOO using a Caesar cipher with a key of 2
Why is a Caesar cipher easy to break?
Questions from this subtopic
Each one with the model answer underneath.
- 1
How does a Caesar cipher work?
Model answer
A Caesar cipher replaces each letter with the letter a fixed number of places further along the alphabet. The number of places is the key.
- 2
Encrypt the word CAT using a Caesar cipher with a key of 3.
Model answer
Each letter moves three places along the alphabet, so C becomes F, A becomes D and T becomes W. The ciphertext is FDW.
- 3
Decrypt the Caesar ciphertext KHOOR with a key of 3.
Model answer
Each letter moves three places back along the alphabet. The plaintext is HELLO.
- 4
Encrypt the word ZOO using a Caesar cipher with a key of 2.
Model answer
The letter Z wraps round to the start, so Z becomes B. The letter O becomes Q, and the ciphertext is BQQ.
- 5
Why is a Caesar cipher easy to break?
Model answer
The Caesar cipher has only 25 possible keys, so every key can be tried quickly. Letter frequencies also give the shift away.
- 6
How does a Vigenère cipher work?
Model answer
A Vigenère cipher uses a keyword, and each letter of the keyword gives a different Caesar shift. The keyword repeats along the message.
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.
Every question in Encryption, 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.