Question: a. Write a Python code to allow user to enter 8 letters and convert them into bits. The format should be LSB to MSB. For

a. Write a Python code to allow user to enter 8 letters and convert them into bits. The format should be LSB to MSB. For example, letter A its binary representation is 01000001, you will list it as 01000010. Thus letters AB will be listed as 1000001001000010.

b. Write a Python code to encrypt the binary from task c with the permutation table from task a and list the encrypted binary on screen.

c. Once again, write a Python code to decrypt the encrypted binary from task d with the inverse permutation table from task b and list them on screen.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!