substitutionDecrypt

Write the substitutionDecrypt method.
Test your algorithm as shown below.
Your code should work for any key.
Sample output using testKey1 (‘zyxwvutsrqponmlkjihgfedcba’) and cipherText message
(‘gsv jfrxp yildm ulc’) from substitution.py file (see source file under ch. 03 link on
Canvas)CipherText: gsv jfrxp yildm ulc
PlainText: the quick brown fox

×
New Download