Lesson plan: Asymmetric Keys
AP Cybersecurity · Unit 5 Securing Applications and Data · Topic 5.4 Asymmetric Cryptography · Practice set
At a glance
- Suggested time
- 2 class periods (45 min)
- Pacing
- First of two sets for Topic 5.4. The CED gives Topic 5.4 five class periods; this plan suggests 2 for this set and 3 for Key Length and Public Key Commands, the third of them CED Scenario 5B. The CED does not divide the topic among sets; that split is this plan's suggestion. This set covers LO 5.4.A only.
- Before this set
- Cryptography and Symmetric Encryption (what encryption and a key are, and AES with its one shared key). The lesson's last paragraph calls a key's fingerprint a short hash of the public key; hashing comes from Hashing and Password Storage (Unit 4).
- Skills
- 2.A Identify security controls, and explain how they mitigate risks.
The one idea: Each receiver generates a key pair, publishes one key and keeps the other secret. Whatever one key encrypts, only its partner decrypts. To send data only one party can read, encrypt with that party's public key. If the private key leaks, the whole pair is replaced.
Day by day
Day 1 · The key pair and sending45 min
- Open (5 min)Ask how two people who have never met could agree on an AES key when anyone can read every message between them. Collect ideas on the board and leave them open.
- Mini-lesson (15 min)Teach Asymmetric Keys, from the opening through the box Sending with asymmetric keys (stop before A leaked private key; Day 2 reads the rest). Stop at the line "Which key does the scout use to encrypt the inventory?" and take answers before reading the paragraph that follows it. Then go back to the Open's ideas and ask which ones the key pair makes unnecessary.
- Do together (10 min)Problem 2 🔒 Problem 3 🔒 🔒 Teacher notes: sign in as a teacher to see this🔒 Teacher notes: open the full plan to see this
- On their own (10 min)Problem 1 🔒 what the pair replaces · Problem 4 🔒 how the two keys are made and how they relate.
- Exit check (5 min)🔒 Teacher notes: sign in as a teacher to see this🔒 Teacher notes: open the full plan to see this
Day 2 · A leaked key and proof of origin45 min
- Mini-lesson (15 min)Teach Asymmetric Keys, A leaked private key and DigiNotar, 2011. Stop at "What could the holder of that certificate do with it?" and take answers before reading the paragraph that answers it. Slow down on the first paragraph under DigiNotar, 2011: ask which of its keys the authority signs a certificate with, and which key anyone can check it with.
- Do together (10 min)Problem 6 🔒 Problem 5 🔒 🔒 Teacher notes: sign in as a teacher to see this🔒 Teacher notes: open the full plan to see this
- On their own (12 min)Problem 7 🔒 what a leak costs · Problem 8 🔒 what encrypting with the sender's private key provides.
- Discuss (5 min)Problem 8 🔒 🔒 Teacher notes: sign in as a teacher to see this🔒 Teacher notes: open the full plan to see this
- Wrap (3 min)Students write two sentences: the key to encrypt with when only one receiver may read the data, and the key to encrypt with when everyone must be able to tell who sent it.
Differentiation
- If students are struggling
- Project the CED's Figure 5.4 (printed page 138): plaintext, the public key, ciphertext, the private key, labeled "Different Keys". Draw two parties beside it, each with a public key on a sign and a private key in a pocket, and have students point to the key for each step of Problem 2 🔒 and Problem 3 🔒 before choosing. Hold Problem 8 🔒 for a second Do together after Problem 5 🔒, asking who holds the key that decrypts it.
- Extension
- Students retell the DigiNotar breach as a chain of keys: whose private key signed the forged certificate, whose public key the browsers used to check it, and what Chrome checked that the others did not. Then they name one safeguard from the lesson that would not have stopped the attack and explain why.
- Vocabulary support
- asymmetric encryption, key pair, public key, private key, mathematical inverse, ciphertext, certificate, certificate authority, hardware security module, fingerprint.
🔒 Answer keyEvery problem's answer, the concept and essential knowledge it checks, and the trap it targets.Sign in as a teacher to see this🔒 Traps this set testsWhat each common wrong answer looks like, and one line to say when you see it.Sign in as a teacher to see this🔒 What to emphasizeThe points that decide the set's problems.Sign in as a teacher to see this🔒 Questions to ask aloudQuestions for the class discussion, with what to listen for.Sign in as a teacher to see this🔒 On the examHow the set's ideas appear on the AP exam, from the course framework.Sign in as a teacher to see this🔒 Your class so farLive results for your section: the problems a third or more missed on the first try, the most common wrong answer, and what it usually means.Sign in as a teacher to see this
From the course framework
LO 5.4.A Determine the appropriate asymmetric key to use when sending or receiving encrypted data.
- 5.4.A.1 Asymmetric encryption allows users to communicate securely without prearranging a shared secret key.
- 5.4.A.2 When using asymmetric encryption, each entity that will be receiving data must first generate a key pair. Key pairs are binary strings of equal length that are generated at the same time through a mathematical process. One key is designated as the public key and the other as the private key. The keys are mathematical inverses of each other—each key reverses its partner. Either key can be used to encrypt information, but only the other key in the key pair will then be able to decrypt it.
- 5.4.A.3 Once the receiver generates the key pair, the private key must be stored securely. If the private key is exposed, shared, stolen, corrupted, or compromised the key pair must be deleted and a new key pair must be generated, because the security of the encryption algorithm rests on the security of the private key. The public key is published for anyone to view and use.
- 5.4.A.4 To send information securely to someone, the sender will use the receiver's public key to encrypt the data and send it. Only the receiver who has the private key will be able to decrypt and read the information.
Framework example: CED Figure 5.4 (printed page 138): the plaintext "The red fox jumps over the blue dog" is encrypted with the public key, sent as ciphertext, and decrypted with the private key, under the label "Different Keys".