Please enable JavaScript to use CodeHS

AP Computer Science Principles: Cybersecurity

Lesson 10.1 Caesar Ciphers

Description

In this lesson, students will explore the basics of cryptography by learning about the Caesar cipher, one of the earliest encryption methods. They will use a Caesar cipher wheel to encrypt and decrypt messages, analyze the number of possible keys, and implement a simple encryption program using JavaScript.


Objective

Students will be able to:

  • Encode and decode messages using the Caesar cipher.
  • Explain how the Caesar cipher works and analyze its security.
  • Implement a simple Caesar cipher encryption program in JavaScript.