Lesson 2: Applying and Teaching Basic Cryptography
Navigation Links: Taisha Dormil's Portfolio Page | Cybersecurity Awareness in the Classroom
Unit 3: Understanding How Cryptography Protects Digital Information

Lesson 2: Applying and Teaching Basic Cryptography
In this lesson, learners will use a Caesar cipher to encode and decode messages, examine its limitations, and explore age-appropriate cryptography activities. They will also revisit the Riverside Middle School investigation, evaluate new evidence, and revise their security recommendations as needed.
Consider how simple cryptographic activities can help students understand the principles of encryption and decryption.
- How can a key be used to transform and recover a message?
- Why are some cryptographic methods more secure than others?
- How can cryptography activities be adapted for different K–12 grade levels?
Keep these questions in mind as you explore the lesson materials.
Instructional Content
1. Applying a Caesar cipher
A Caesar cipher is a substitution method that replaces each letter in a message with another letter a fixed number of positions away in the alphabet.
The number of positions used to shift the letters serves as the key.
For example, using a shift of three:
- A becomes D.
- B becomes E.
- C becomes F.
- X becomes A.
- Y becomes B.
- Z becomes C.
When the end of the alphabet is reached, the letters continue from the beginning.
2. Encoding and decoding messages
To encode a message using a Caesar cipher:
- Identify the original message.
- Select a shift value.
- Move each letter forward by the selected number of positions.
- Record the resulting ciphertext.
To decode the message:
- Identify the ciphertext.
- Determine the shift value used during encryption.
- Move each letter backward by the same number of positions.
- Record the recovered plaintext.

Example: Using a shift of three
For example:
For example:
SAFE -> VDIH
VDIH-> SAFE
3. Understanding the limitations of a Caesar cipher
A Caesar cipher has only 25 nonzero shift values when using the English alphabet. Without knowing the key, an individual can test these shifts until the original message becomes recognizable.
The Caesar cipher is therefore useful for introducing cryptographic concepts but is not suitable for protecting sensitive digital information.
Modern encryption relies on more advanced algorithms and appropriately managed cryptographic keys.
4. Adapting cryptography activities for K-12 Instruction
Cryptography activities can be adapted based on students' grade levels, prior knowledge, and learning needs.
| Grade Level | Suggested instructional approach |
|---|---|
| K-2 | Use pictures, symbols, and simple matching patterns to introduce secret messages. |
| 3-5 | Use alphabet strips, short words, and a fixed shift to introduce encoding and decoding. |
| 6-8 | Encode and decode messages using different shift values and investigate the limitations of simple ciphers. |
| 9-12 | Investigate cipher weaknesses, compare historical and modern encryption concepts, and explain their relevance to digital security. |
Tasks
As you explore the following resources, practice applying the Caesar cipher and consider how cryptographic activities can be adapted for K–12 instruction.
Complete the following readings:
Access Information: Creating an account and accessing existing resources is free.

- Code.org - Simple Encryption
- Explore the Caesar cipher activity using different shift values. Practice recovering original messages and observe how changing the key affects the results.
- Consider why a Caesar cipher is relatively easy to break and how this activity could be adapted for your selected K–12 grade level.
Watch the following video:

As you watch the video, identify examples and explanations that could help students understand encryption and decryption. Consider how you could incorporate these concepts into a classroom activity.
Lesson 2 Assessment: Applying Cryptography and Revisiting the Investigation
Purpose: Apply a basic cryptographic method, explain its limitations, and revise security recommendations using new evidence.
Part 1: Encode and Decode Messages
Using a Caesar cipher, complete the following tasks:
- Encode the word BOOK using a shift of three.
- Decode the message IULHQG using a shift of three.
- Encode the message STUDENT using a shift of five.
- Create a short message, select a shift value, encode the message, and demonstrate how it can be decoded.
- Explain why a Caesar cipher would not be appropriate for protecting sensitive school records.
Show how you applied the selected shift when encoding and decoding your messages.
Part 2: Riverside Middle School Cybersecurity Investigation
Case File 2: Investigation Update
The technology coordinator confirms that the cloud service used to store the document already provided encryption. However, its sharing permissions allowed anyone with the link to access the information.
The investigation also reveals that several staff members did not understand how to configure document-sharing permissions appropriately. The technology coordinator recommends reviewing access permissions and staff training procedures.
Return to your initial conclusions from Lesson 1 and respond to the following questions:
- What new evidence does the investigation provide?
- How does this evidence confirm or change your initial explanation of the incident?
- Which of your original recommendations would you retain or revise? Explain why.
- Why are access permissions important even when encryption is available?

Response Criteria
Your responses should demonstrate accurate encoding and decoding, an understanding of cipher limitations, and the ability to revise security recommendations using evidence.
Submission: Submit responses using this form.
K–12 Classroom Application: Secret Messages
Provide students with alphabet strips and introduce a Caesar cipher using a fixed shift of three.
Students create short messages, encode them using the alphabet strips, and exchange their ciphertext with a partner.
Each partner uses the same shift value to recover the original message.
After completing the activity, students explain the relationship between plaintext, ciphertext, and the key. Discuss why simple ciphers should not be used to protect passwords or other sensitive information.

Reflection: How could you adapt this activity for middle school or high school students?
Please share your thoughts in the discussion forum - Link to Reflection Board
Unit 3 Discussion: Teaching Cryptography in K–12 Education
Reflect on what you learned throughout Unit 3 and respond to the following questions:
- What is one important takeaway from this unit?
- What challenges might students encounter when learning about cryptography?
- How would you address these challenges in your classroom?

Post your response on the Unit 3 Discussion Board. Read at least one other learner's response, if available, and share an additional strategy or constructive feedback.
Post your response to the Discussion Board.
Click here to continue to Unit 4: Designing a Standards-Aligned Cybersecurity Lesson
Click here to return to Lesson 1: Understanding Encryption and Decryption or Unit 3: Understanding How Cryptography Protects Digital Information