Assignment5.pdf

DES Encryption
Round# Left Right Key

L0 R0

0 L1=R0 R1= L0  F(R0,K0) K0

1 L2=R1 R2= L1  F(R1,K1) K1

2 L3=R2 R3= L2  F(R2,K2) K2

… … … …

14 L15=R14 R15= L14  F(R14,K14) K14

15 L16=R15 R16= L15  F(R15,K15) K15

Function F() is explained on the next page.

DES Decryption: Given L16, R16, and K15, can we go reverse (i.e., find L15 and R15)?

Finding R15: R15 = L16

Finding L15: L15 = L15  0

= L15  F(R15,K15)  F(R15,K15)

= L15  F(R15,K15)  F(R15,K15)

= R16  F(R15,K15)

= R16  F(L16,K15)

Note that, in the decryption

network, R16 is on the left, and L16 is

on the right. This is consistent with

the Decryption formula derived

above.

The F Function

How F(R0,K0) is computed?

Step 1: Expand R0 to 48 bits by copying 16 of its 32 bits twice (Use expansion table). The resultant 48 bit

represents E(R0).

Step 2: Compute E(R0)  K0

Step 3: Substitute each 6 bits in E(R0)  K0 with a 4 bit value using substitution table.

Step 4: Permute the 32 bits produced in Step 3 using permutation table.

Expansion table (Step 1)

Substitution Table (Step 3)
Reduce 6 bit to 4 bit

Permutation Table (Step 4)

1. Assignment 5 (35 Points)

Given a 64 bit plaintext FFFE 397D AC28 8855 and 48 bit Round key 4D77 32C5

29EF, perform one round DES encryption and decrypt the computed cipher

retrieving the original input.

2. Bonus Assignment (15 Points)

Given a 56-bit key 88DF E9DC C277 CA, compute 48 bit Round1, Round2 and

Round3 keys.

Place your order
(550 words)

Approximate price: $22

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
The price is based on these factors:
Academic level
Number of pages
Urgency
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more

Order your essay today and save 30% with the discount code HAPPY