Question: 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

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.

Write the code in C or C++

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!