OUTCOME: Revise representing text as numbers and introduce simple hiding of messages.
If we were to communicate information over the internet, we want to make sure that the data that we are transferring is safe from prying eyes.
In today's lesson we will be going over some old and simple ways that this was done.
The key of this cipher is a number that adds or subtracts from the 26 letters in the alphabet.
A better substitution cipher
Complete this activity about Caesar ciphers.
Complete this activity about random substitution ciphers.
Python scripts can be written to encode text with ciphers.
Copy the code from this doc into a new python file in VS Code.
Running the code will prompt you to enter text to be encrypted and how many steps it will be moved down the alphabet in a Caesar cipher.
Pair up with a friend and send each other a message encoded with the script. Attempt to crack each other's code!