Jump to content

Lesson 1: Understanding Encryption and Decryption

From KNILT

Navigation Links: Taisha Dormil's Portfolio Page | Cybersecurity Awareness in the Classroom

Unit 3: Understanding How Cryptography Protects Digital Information

Lesson 1: Understanding Encryption and Decryption

In this lesson, learners will explore the purpose of cryptography, distinguish between plaintext and ciphertext, and explain how cryptographic keys support encryption and decryption. They will then investigate a fictional incident involving exposed student information at Riverside Middle School to evaluate the effectiveness of encryption and recommend additional safeguards.

Consider how schools protect student records, online communications, and other sensitive information.

  • How can encryption protect information from unauthorized individuals?
  • What is the difference between readable and encrypted information?
  • Can encrypted information still be exposed to unintended individuals?

Keep these questions in mind as you explore the instructional materials and investigate the Riverside Middle School incident.

Instructional Content

1. What is cryptography?

Cryptography involves mathematical methods used to protect information and support secure digital communication. Encryption is one application of cryptography that helps prevent unauthorized individuals from understanding protected information.

Individuals encounter cryptography when accessing secure websites, using messaging applications, completing online transactions, and storing sensitive information. In educational settings, encryption can help protect student records, school communications, and other confidential information.

2. What Encryption Can and Cannot Protect

Encryption helps maintain the confidentiality of information when it is stored or transmitted.

However, encryption does not automatically prevent every cybersecurity incident. If an individual receives permission to access an encrypted document, the system may decrypt the information so that the individual can read it.

Encryption and access permissions serve different purposes:

  • Encryption protects information from being understood without the appropriate decryption process.
  • Access permissions determine who is authorized to view or modify information.

Both safeguards are important when protecting sensitive information. Educators can help students understand this distinction through realistic scenarios involving digital communication and information sharing.

3. Understanding encryption and decryption

Encryption transforms original information into a protected form using an algorithm and a cryptographic key. Its purpose is to make information difficult to understand without the appropriate means of decryption.

Decryption reverses this process and allows the original information to be recovered using the appropriate key.

For example, when information is transmitted between a user's browser and a secure website through HTTPS, encryption helps protect the information from being read by unauthorized individuals during transmission.

4. Plaintext, ciphertext, and cryptographic keys

Plaintext, Ciphertext, and Cryptographic Keys

  • Plaintext: The original information before encryption
  • Ciphertext: The transformed information produced through encryption.
  • Cryptographic key: A value used by a cryptographic algorithm to perform encryption or decryption.

A simple example can be demonstrated using a Caesar cipher with a shift of three.

  • Plaintext: HELLO
  • Ciphertext: KHOOR
  • Cryptographic key: Shift of 3

Task

As you explore the following resources, focus on the purpose of encryption and decryption and the relationship between plaintext, ciphertext, and cryptographic keys.

Complete the following readings:

Access Information: Creating an account and accessing existing resources is free.

  1. Code.org - Simple Encryption
    • Explore how changing the alphabet shift affects an encrypted message. Identify the original message, the transformed message, and the key used in the transformation.



Watch this video:

As you watch the video, consider the following questions:

  • Why is encryption important for protecting digital information?
  • What is the role of a cryptographic key?
  • How does decryption allow original information to be recovered?

Lesson 1 Assessment: Understanding Encryption and Investigating Digital Information Exposure

Purpose: Explain the purpose of encryption and decryption, distinguish plaintext from ciphertext, and examine the limitations of encryption.

Part 1: Distinguishing Plaintext and Ciphertext

Examine the following messages.

Message A Message B
HELLO KHOOR

Message was encrypted using a Caesar cipher with a shift of three.

Respond to the following questions:

  1. Which message represents plaintext? Explain your answer.
  2. Which message represents ciphertext? Explain your answer.
  3. How was the original message transformed?
  4. What information is needed to recover the original message?

Part 2: Riverside Middle School Cybersecurity Investigation

Case File 1: Exposed Student Information

Riverside Middle School discovers that a document containing student names and school email addresses is accessible to individuals outside the school.

The document is stored on a cloud-based service with sharing permissions that allow anyone with the link to view its contents.

School administrators want to determine whether encryption could have prevented the incident. The technology coordinator is still investigating.

Using the available evidence, respond to the following questions:

  1. What information was exposed, and why does its exposure create a privacy concern?
  2. How could encryption and decryption help protect and provide authorized access to student information?
  3. Would encryption alone prevent this incident? Explain your reasoning.
  4. What additional safeguards would you recommend?
  5. What additional evidence would help you reach a more informed conclusion?

Response Criteria

Your responses should accurately distinguish plaintext from ciphertext, explain the purpose of encryption and decryption, and justify security recommendations using the available evidence.

Submission: Submit your responses using this form. Save your initial conclusions because you will revisit them when new evidence becomes available in Lesson 2.

K–12 Classroom Application: Who Can Read the Message?

Present students with a plaintext message and its encrypted version. Ask students to distinguish between the two messages and explain why encryption makes information more difficult to understand.

Next, provide students with the key and demonstrate how the original message can be recovered.

Introduce a situation in which an individual with permission to access a protected document shares its contents with someone else.

Ask students to explain why encryption alone cannot prevent this type of information exposure.

Reflection: How could this activity help students understand the difference between encryption and access permissions?

Please share your thoughts in the discussion forum - Link to Reflection Board


Click here to continue to Lesson 2: Applying and Teaching Basic Cryptography

Click here to return to Unit 3: Understanding How Cryptography Protects Digital Information