Readings: Python_by_Lambert
Chapter 4, Section 4.2 Data Encryption
- Write the encrypted text of each of the following words using a Caesar
cipher with a distance value of 3:(Use the sample code they provide)
- python
- hacker
- wow
2. Consult the Table of ASCII values in Chapter 2 and suggest how you
would modify the encryption and decryption scripts in this section to
work with strings containing all of the printable characters.
- You are given a string that was encoded by a Caesar cipher with an
unknown distance value. The text can contain any of the printable ASCII
characters. Suggest an algorithm for cracking this code.