Inactive Tutor answered 03/11/21
(I)
i) sbwkrq
ii) kcfnhu
iii) zrz
(II) limit the character set to capital letters only;
digits use a DIFFERENT key
(III) you have to try sequential offsets: +1,+2,+3,...+25
until you find the one that works
Ethan H.
asked 03/10/21Readings: Python_by_Lambert
Chapter 4, Section 4.2 Data Encryption
cipher with a distance value of 3:(Use the sample code they provide)
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.
unknown distance value. The text can contain any of the printable ASCII
characters. Suggest an algorithm for cracking this code.
Inactive Tutor answered 03/11/21
(I)
i) sbwkrq
ii) kcfnhu
iii) zrz
(II) limit the character set to capital letters only;
digits use a DIFFERENT key
(III) you have to try sequential offsets: +1,+2,+3,...+25
until you find the one that works
Get a free answer to a quick problem.
Most questions answered within 4 hours.
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.