Create 2 Letter Encryption Code Taking Combinations Z 2 Letters Eg Aa Ab Ac Coding Text Pa Q37099712

Create a 2-letter encryption code by taking all combinations ofa to z and ‘ ‘ in 2-letters (e.g., ‘aa’, ‘ab’, ‘ac’, … , ‘ ‘) andcoding text pairs using a permutation of that set. Build the codingand decoding dictionaries and illustrate your method with the shortplaintext below using the seed value 6767. If your plain text hasan uneven number of characters, you will have to “pad” it with aleading ‘ ‘ or trailing one. Your solution should provide thePython code, plaintext, coded text, and then decoded text. Ratherthan printing the entire dictionary, provide your coded text for‘at’, ‘tt’, and ‘oo’.

In

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.