Question: Code In Java: Vigenere Cipher Decryption Program Using Index of Coincidence Your program should input the ciphertext from a file. It should do this without

Code In Java: Vigenere Cipher Decryption Program Using Index of Coincidence

Your program should input the ciphertext from a file. It should do this without seeking additional input or help from the user. Your program should first calculate the key length, and should then calculate all of the necessary mutual indices of coincidences to find the shift used in each key position.

In addition to the final decrypted text, please have your program also output clearly-labelled values found during your process of finding the key length, a table of values for the mutual indices of coincidence, and finally the original key and decrypted text.

By testing the values of the indices of coincidence and the mutual indices of coincidence, your program should give an indication to the user of whether or not you think the text was successfully decrypted. Also test your program on ciphertext that was *not* encrypted with a vigenere cipher.

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!