Question
Your task is to design automated solvers for the shift and Vigenere ciphers. You must use C as the under- lying programming language, in order
Your task is to design automated solvers for the shift and Vigenere ciphers. You must use C as the under- lying programming language, in order to get prepared for the following labs. Each solver should be completely automated, i.e., upon reading a text ,l.e. containing the target ciphertext (given as command-line argument), it should print the encryption key and the decrypted plaintext without any user interaction. Test your code on the following ciphertexts, and answer these questions:
1. What is the key of the cipher?
2. What is the decrypted plaintext? Shift Cipher - Decrypt the following ciphertext: ODKBFAXASKBDQEQZFEMPURRUOGXFKZAFRAGZPUZZADYMXMOMPQYUOPUEOUBXUZQEFTQZQQPRADFTQBDABQDUZFQDMOFUAZARODKBFASDMBTKMZPODKBFMZMXKEUEFTUEMDUEQEAGFARFTQRMOFFTMFUZFTQMNEQZOQARDQMXOAYYGZUOMFUAZEDQCGUDQYQZFEUFUEQMEKFABDABAEQMEKEFQYFTMFMBBQMDEGZNDQMWMNXQYMZKMOMPQYUOPQEUSZEMDQEAOAYBXQJFTMFFTQIAGXPNQODKBFMZMXKEFPAQEZAFWZAIITQDQFAEFMDFQJBAEUZSRXMIEUZFTQEQPQEUSZEUERMDTMDPQDFTMZPQEUSZUZSFTQYUZFTQRUDEFBXMOQFTQDQEGXFUEFTMFFTQOAYBQFUFUHQBDAOQEEITUOTUEAZQEFDAZSYAFUHMFUAZUZMOMPQYUODQEQMDOTOMZZAFFMWQTAXP
Vigenere Cipher - Decrypt the following ciphertext: YYCCIIDCGRBBVVPTLHKEAGRDVFEGTDJPUPLXWJRTFSTXGCZWPKFTEOVVQTOSPKGTLOPUCPKZAVGVAHKVQIASPRRXHBCCQTVITZRNTUGEANTAGIGRTGQWDXVWCCAGRDVFEGTDJZADKUCEKPWSUVTTKONRRIXARKQIHEWRQWBHVYCUBFUKUPLONVRIXFHIMBTZQEEIBAGEQPXARCMNXSCCJTZSFCWPOCYVBAROPUYEIOTVLIEMCTRXGUQEFXLCYERWXZGKRTKKCJQTGHVFRWXWGVCPGRYRPCXRVYYIMVGGSQEWERRXHBQWAGRDVFEGTDJZABTHGIGPEKCJYKBCNRRXHBQWRWXWPKCGGOVZMCTZVIYUYWEZLPKAUICVNZCKGDGGVYGHOWGNNDBBVKSGGSFFSIGCVVTTGHQSCHNDRFPIXRDPRWXFGXSATHKFLHMVGDQTEJGJUWBQJTMCMOKECSTBGONABQKKCMXARKGDGTQINJUZKJFTWACKCGBONSSIZOXVZDMV
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered 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