Question: Problem 1. Write the following computer programs to simulate a mini data encryption system (MDES). Since it is just a simulation, the bit and the

Problem 1. Write the following computer programs to simulate a mini data encryption system (MDES). Since it is just a simulation, the bit and the binary strings in the following can be expressed as integers 0 and 1. 1. Let Z32 corresponding to 26 English characters, space, dot (.), comma (,), question mark (?) and two brackets (left bracket and right bracket). So the following corre- spondence are used. 26 27 28 29 30 31 Each element in Z32 can be expressed as a 5-bit string. Write a program to translate English text to binary strings according to the above correspondence. Also write a program to do the inverse
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
