Question: USE JAVA PLEASE, USE COMMAND LINES EXPLAINING: Create software that can encrypt and decrypt using a general substitution block cipher. Create software that can encrypt

USE JAVA PLEASE, USE COMMAND LINES EXPLAINING:

Create software that can encrypt and decrypt using a general substitution block cipher.

Create software that can encrypt and decrypt using S-DES. Test data: use plaintext, ciphertext, and key of Problem 3.18

Here is Problem 3.18 for reference:

Using S-DES, decrypt the string (10100010) using the key (0111111101) by hand. Show intermediate results after each function . Then decode the first 4 bits of the plaintext string to a letter and the second 4 bits to another letter where we encode A through P in base 2 (i.e., A = 0000, B = 0001, ..., P = 1111). Hint:As a midway check, after the application of SW, the string should be (000100

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!