Question: Write a C/C++ program hillCipher to decrypt the ciphertext below which was encrypted using a Hill cipher with m = 2: LMQETXY EAGTXCTUIEWNCTXLZEWUAISPZY V APEWLMGQWY
Write a C/C++ program hillCipher to decrypt the ciphertext below which was encrypted using a Hill cipher with m = 2: LMQETXY EAGTXCTUIEWNCTXLZEWUAISPZY V APEWLMGQWY A XFTCJMSQCADAGTXLMDXNXSNPJQSY V APRIQSMHNOCV AXFV
Note: use digram frequencies. The 10 digrams with highest frequencies in English are (in the order of decreasing frequency) TH, HE, IN, ER, AN, RE, ED, ON, ES, ST. Design the program to try the more likely possibilities first. Your program should work interactively with the user (show potential plaintext after each try) and stop when the user is satisfied with the result.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
