Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Consider the Not-So-Simple-Substitution cipher, where the shift size could be arbitrary. Write a program (using a programming language of your choice) that can cryptanalyze
Consider the "Not-So-Simple-Substitution" cipher, where the shift size could be arbitrary. Write a program (using a programming language of your choice) that can cryptanalyze this cipher. Your program should take a ciphertext input in the form of a file, and find the key and output the plaintext(s) in the form of another file. This could be accomplished in a semi-automated manner (i.e., a human/cryptanalyst can guide your program by providing some suggestions at runtime). You can use any resource you need (programming libraries, English dictionary, etc.) to accomplish this task. Do not copy code from the Internet or anyone else. Demonstrate that your technique works for different ciphertext input files. Submit the following to Blackboard by the deadline as single zip file with the file name .zip. (a) A one to two page pdf report detailing the overall approach that was taken to solve this problem. Use figures to illustrate the approach. Explain the roles and efforts of each of the team members. Typeset using a word-processing software in a professional manner. (b) Just the source code. No executables and/or metadata files, please. One submission per team is sufficient. Points: 8 points for the work. 2 points for following the above instructions to the dot. Total 10 points.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
import string def decryptciphertext key plaintext for char in ciphertext if charisa...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started