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

Write the following computer programs to simulate a mini data encryption system 


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. 2 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. Activate Windows

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Below are two Python programs for translating English text to binary strings and vice versa using th... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!