Hey Dr, Well I need help with this labI have 2 days, thanks.

10-bit key 0100011110

8-bit message 01001111

If you work on a step, add your name in parenthesis. If you didn’t get to work on it, check the work present, then add your name and an * so we know you still did it and checked the others' work.

STEP 1: (Jonny Chase)

Generate the Keys:

The 10-bit key was given to us by the Professor and is as follows:

  • 10-bit key: 0100011110

Using this key we need to generate two 8-bit keys. To do this we first perform a permutation to the original 10-bit key and we will call it P10. The permutation will follow this structure:

P10

10

Where 3 is equal to the 3rd bit in the 10-bit key (0), 5 is equal to the 5th bit (0), and 2 is equal to the second bit (1) and so on. After the permutation is complete, P10 will be:

P10 = 00110 00111

Now that we have the first permutation of the 10-bit key, we need to perform a circular Left Shift of one space to the first 5 bits and last 5 bits separately. It will look like this:

P10 = 00110 00111

LS-1= 01100 01110

Next we use the below structure to get the first of our two 8-bit keys (K1) from the bits in LS-1

P8

10

K1 = 0110 1001

In order to get our second 8-bit keys, we need to perform a circular left shift of 2 spaces to LS-1 to the first and second 5 bits separately just as we did before. We will call it LS-2. It will become this:

LS-1 = 01100 01110

LS-2 = 10001 11001

Now using the same P8 that we used for finding K1 using LS-1, we can find K2 using LS-2.

K2 = 1010 0110

This completes the first step of generating the keys. Here are the two 8-bit keys that we will use later in the encryption and decryption process:

K1 = 0110 1001

K2 = 1010 0110

STEP 2: (Names here)

STEP 3: (Names here)

STEP 4: (Names here)

STEP 5: (Names here)

STEP 6: (Names here)

STEP 7: (Names here)

STEP 8: (Names here)

STEP 9: (Names here)