# Need to work on 2 tasks fro Applied Cryptography

me learn.

Please see the 2 attached screenshots

1. Show that for all possible binary bit values of Mi and Si, Mi + Si mod 2 = Mi XOR Si (10 points)

2. Given a 3 bit key K=101 and a 3 bit initial seed S=001, encrypt M=11001010. Consider LFSR based stream cipher and show your work. (20 points)

3. Write one paragrapg note on RC4 (use web resources) (10 points)

1. A stream cipher uses a LFSR with three units. An attacker captures a ciphertext “0101001010011”. The attacker knows that the first 6 bits of the message are “110001.” Using this information, the attacker defeats this encryption, i.e., he is able to determine the initial seed values (S1, S2 and S3) and Keys (K1, K2 and K3). What are those values? (Points 25)

Calculation Hints:

Remember:

S 1 through S 6 can be computed by XORing 6 bit message with the first 6 bits of ciphertext.Then formulate the following equations for S 4 through S 6 :

S m+1= S m × K m + S m-1 × K m-1 + …… S 2 × K 2 + S 1 × K 1 mod 2

S m+2= S m+1 × K m + S m × K m-1 + …… S 3 × K 2 + S 2 × K 1 mod 2

S m+3= S m+2 × K m + S m+1 × K m-1 + …… S 4 × K 2 + S 3 × K 1 mod 2

Number of units in the shift register determines the value of m.

Many of you may not feel comfortable solving systems of equation. You can apply the following brute force method:

Check, all possible sets of values of K 1, K 2 and K 3 listed in the following table to find out which set satisfies all the above equations (i.e., makes both sides of the equations equal) :

 K1 K2 K3 0 0 0 0 0 1 0 1 0 0 1 1 1 0 0 1 0 1 1 1 0 1 1 1
1. An organization uses same stream cipher key multiple times. An attacker who knows that, captures two ciphertexts C1 and C2 and finds that,

C1⊕C2= 0000101000011101000000110001001100010000000101000000011000000011000010100000100100011011

The attacker also knows that the plaintexts are composed of only English capital letters without any punctuations or space, and that part of the plaintexts contains the word: “PRESIDENT”. He was able to recover both the plaintexts. Show, how. (Points 25)

attachment_1
attachment_2

## 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:
Number of pages
Urgency
Basic features
• Free title page and bibliography
• Unlimited revisions
• Plagiarism-free guarantee
• Money-back guarantee
On-demand options
• Writer’s samples
• Part-by-part delivery
• Overnight delivery
• Copies of used sources
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.

### 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.

### 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.