Ethan H.

asked • 03/10/21

Strings reading 4.2

Readings: Python_by_Lambert

Chapter 4, Section 4.2 Data Encryption 

 

  1. 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)

  1. python
  2. hacker
  3. 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.

  1. 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.


1 Expert Answer

By:

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.