Question: Create a Mathematica notebook that solves and discusses the solution. Create a general encryption and decryption functions for this cipher. Please using Mathematica! Thank you!
1.30 We describe another stream cipher, which incorporates one of the ideas from the "Enigma" system used by Germany in World War II. Suppose that is a fixed permutation of Z2e. The key is an element K E 26. For all integers i 1, the keystream element zi E Z26 is defined according to the rule = (K + - 1) mod 26, Encryption and decryption are performed using the permutations and -1, respectively, as follows: ez (z) = (z) + z mod 26 and dz(u)v- mod 26), where z E Z26. Suppose that r is the following permutation of Z26: r 0 12 3 4 5 r(r) 11 23 | 13 | 24 7 6 7 | 8| 9 | 10 | 11 | 12 e ll 13 | 14 | 15 | 16 I 17 I 18 | 19 | 20 21 | 22 | 23 | 24 | 25 (18 5 11 17 2 21 |12 20 4 10 9 38 The following ciphertext has been encrypted using this stream cipher; use exhaus- tive key search to decrypt it: WRTCNRLDSAFARWKXFTXCZRNHNYPDTZUUKMPLUSOXNEUDO KLXRMCBKGRCCURR
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
