In a special case of a permutation cipher, we take a message, M, and write its letter in an s x t table in a row-major fashion, and then let the ciphertext be a column-major listing of the entries in the table. For example, if the plaintext is ATTACKATDAWN, using a 3x4 table, we would write the message as
And the ciphertext would be ACDTKATAWATN. The secret key is the crptosystem is the pair (s, t). Implement the decryption algorithm that restores the plaintext in a programming language of your choice. Note that, your program must read the cipherext file, called youknow, and produce the plaintext file, called gotit. In your program, uses secret key (4, 5) and stuffing character “,” (comma) to full fill the table.