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
Step: 1
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