
Encryption for AQA A Level Computer Science (7517): twenty different sheets on
the Caesar and Vernam ciphers, each worked all the way through, and each with
a complete answer key.
Section 4.5.6.10 asks candidates to BE ABLE TO APPLY each cipher to encrypt a
plaintext AND to decrypt a ciphertext. That is four operations, and most
resources show one. Every sheet here does all four.
WHAT YOU GET
- 20 worksheets, 3 pages each, numbered 01 to 20
- 20 matching answer keys
- A contents table giving each sheet’s Caesar shift and the words it encrypts,
so you can pick one without opening all twenty
WHAT IS ON EVERY SHEET
Question 1 is the Caesar cipher: fill in the shifted alphabet, encrypt one
word, decrypt another that used the same shift, and say how many shifts an
attacker would have to try.
Question 2 encrypts five characters with a Vernam cipher. Each character’s
8-bit ASCII code is given, and so is the one-time pad’s; the student poses the
exclusive OR bit by bit and writes the ciphertext byte.
Question 3 goes the other way: an intercepted ciphertext and the pad that
made it, and the plaintext to recover a letter at a time.
Question 4 breaks a Caesar cipher of unknown shift. The first word of the
plaintext is given, which is enough to find the shift and read the rest.
Question 5 is a written question on perfect security, on computational
security, on why the Caesar cipher falls, on the words this topic uses, or on
what an attacker gains from a one-time pad that was used twice.
Every sheet is 30 marks.
THE CONVENTION THIS TOPIC ARGUES ABOUT, SETTLED ON THE PAGE
The Vernam cipher on these sheets works on BITS. Each character becomes its
8-bit ASCII code, and plaintext and key are combined with exclusive OR. A good
number of books instead add letter positions modulo 26 - which is a different
method and a different answer to the same question. Neither is wrong; they are
simply not the same, and a student who learned one gets marked wrong by a
teacher who teaches the other. Every sheet states which it uses, at the top,
before the first question.
The smaller conventions are printed as well. Encrypting with a Caesar cipher
moves each letter FORWARD through the alphabet, wrapping from z round to a.
Messages are lower-case with no spaces, so that the lengths of the words do
not show through the ciphertext. Every byte is written on all eight bits,
leading zeros included. And a shift of 0 is not counted among the shifts an
attacker must try, so the answer to that question is 25 rather than 26 - a
number the textbooks disagree about.
Something went wrong, please try again later.
This resource hasn't been reviewed yet
To ensure quality for our reviews, only customers who have purchased this resource can review it
Report this resourceto let us know if it violates our terms and conditions.
Our customer service team will review your report and will be in touch.