This lesson introduces students to the concept of decryption in the Caesar cipher. Students will extend their existing encryption program to include a decryption feature and apply their understanding of shifting characters in the alphabet. They will also experiment with breaking a Caesar cipher through brute-force techniques.
Students will be able to:
- Implement a decryption function in JavaScript for a Caesar cipher.
- Understand how encryption and decryption are inverse operations.
- Experiment with breaking an encrypted message through brute-force shifting.
- Reflect on the strengths and weaknesses of the Caesar cipher.
These are all the activities included in the lesson