Menu

[Solved]Python3 Write Program Solve Simple Caesar Cipher Program Take File Ciphertext Perform Poss Q37045252

Python3.

Write a program that can solve a simple Caesar cipher. Yourprogram should take in a file of ciphertext, perform all possibleshifts (there are 26), and check to see which shift results in theproperly deciphered text. You can tell when the correct shift hasoccurred because I will also provide a list of ‘cribs’, ordeciphered (‘plaintext’) words that appear in the decipheredsolution. Your program should then print out the solution, and theshift needed to achieve the decipherment.

To get full points (50 points), your program must contain logicthat determines the correct shift. If you just print out allpossible outputs, you will not receive full points.

Sample ciphertext and crib files are available on mywebsite:

http://nordlie.cs.und.edu/cs161/caesar1_cipher.txt

http://nordlie.cs.und.edu/cs161/caesar_crib.txt

Download these files and use them as input to your program fortesting.

Thank you

Expert Answer


Answer to Python3. Write a program that can solve a simple Caesar cipher. Your program should take in a file of ciphertext, perfor… . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *