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?
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
![](/static/compass_v2/shared-icons/check-mark.png)
Step by step
Solved in 3 steps
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
![C How to Program (8th Edition)](https://www.bartleby.com/isbn_cover_images/9780133976892/9780133976892_smallCoverImage.gif)
![Database Systems: Design, Implementation, & Manag…](https://www.bartleby.com/isbn_cover_images/9781337627900/9781337627900_smallCoverImage.gif)
![Programmable Logic Controllers](https://www.bartleby.com/isbn_cover_images/9780073373843/9780073373843_smallCoverImage.gif)