Public keys, private keys and digital signatures – OCR A Level Computer Science lesson (H446)
Students learn to explain how a digital signature is created and checked, and how it authenticates the sender and shows the message is unchanged.
Lesson 4 of 12 in unit 12.11 Compression, Encryption, Hashing and Databases, taught in Year 12, Summer 2. It answers one big question: How can you prove a message really came from you?
By the end, students can explain how a digital signature is created and checked, and how it authenticates the sender and shows the message is unchanged.
- The Build (the main task)
- Explain how the club secretary can digitally sign the Shutterbox competition results so members can check they are genuine and unchanged, naming each key used and what is compared (6 marks).
- Support version
- A numbered flowchart of signing and checking with gaps for the key names and the comparison step.
- Challenge
- Explain why a digital signature alone does not keep the results secret, and how the secretary could make them both signed and confidential.
- Real-world link
- The club secretary publishes the monthly competition results on Shutterbox.
- Key words
- Public key, Private key and Authenticate, each with a definition, an icon and a common mix-up on the key vocabulary slide.
- Misconceptions it tackles
- “A digital signature is created with the sender's public key”; “A digital signature encrypts the message so nobody else can read it”.
- OCR H446 specification
- 1.3.1 (c); (d).
Every lesson follows the same Code & Commerce structure: a Bell Task recall starter, key vocabulary with definitions and icons, short teaching chunks with a check before pupils move on, The Build (one main task), challenge questions that get harder, and an exit question. Answers reveal one at a time on the slides, and everything is editable PowerPoint and Word.
Students can do it all on paper.
Also sold in the Compression, Encryption, Hashing and Databases unit bundle, which includes the medium term plan, and in the full-year and complete-course bundles.
An independent resource written for OCR A Level Computer Science (H446). It is not endorsed by OCR or Cambridge University Press & Assessment. Programming project (NEA) lessons teach general skills on a made-up example project and give supervised time, within JCQ's rules on the help a centre may give.
What's included
- Slide deck (PowerPoint)
- Lesson plan (Word)
- Worksheet (Word)
- Support worksheet with scaffolds (Word)
- Single-teacher licence: use and adapt it with your own classes
More for A Level Computer Science
See allStudents learn to compare lossy and lossless compression and justify which suits a given type of file.
Free sample lessonStudents learn to apply run length encoding and dictionary coding to data and calculate whether the result is smaller.
Students learn to describe symmetric and asymmetric encryption and state whose key encrypts and decrypts in each.
Written for the specifications named. Not endorsed by or affiliated with any exam board.