Home /
Expert Answers /
Computer Science /
the-concept-of-confusion-suggests-that-each-part-of-the-ciphertext-depends-on-several-parts-of-the-pa657
(Solved):
The concept of confusion suggests that each part of the ciphertext depends on several parts of the ...
The concept of confusion suggests that each part of the ciphertext depends on several parts of the key. In this assignment we would introduce the DoubleCipher, which utilizes both the Rail Fence and Caesar cipher. The following gives an example of how the DoubleCipher works: Rail Fence Algorithm key: k1 = 2 Caesar Cipher key: k2 = 1 Plaintext = "Hello Class" Encryption process Rail Fence Cipher Input Rail Fence Cipher Output I Caesar Cipher Input Caesar Cipher output I The decryption process is the reverse. The Caesar Cipher given in class works with 26 characters. You are required to extend this algorithm so that it works with only uppercase, lowercase and special characters (Standard ASCII 127) Task You are required to write a python program that implements the encryption and decryption processes of the DoubleCipher technique. Note that your Rail Fence algorithm should work with a key value of 3.