# applied cryptography

Learning Goal: I’m working on a cryptography question and need an explanation and answer to help me learn.

QUESTION 1:

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

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.

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

———————————————————————————————————————————————-

QUESTION 2:

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:

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

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

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

m+3= S m+2 × K + S m+1 × K m-1 + …… S 4 × K + S 3 × K 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 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

2.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)

Hints: Slide ASCII for “PRESIDENT” over C1⊕C2 and XOR them. You can start from the left and keep sliding right, or start from the right and keep sliding left until you find a meaningful 9 letter phrase (since PRESIDENT is a 9 letter word). Once you retrieve the partial plaintexts, use your intuition and linguistic observations to complete the rest as much as possible.

Pages (550 words)
Approximate price: -

Why Choose Us

Quality Papers

We value our clients. For this reason, we ensure that each paper is written carefully as per the instructions provided by the client. Our editing team also checks all the papers to ensure that they have been completed as per the expectations.

Over the years, our Acme Homework has managed to secure the most qualified, reliable and experienced team of writers. The company has also ensured continued training and development of the team members to ensure that it keep up with the rising Academic Trends.

Affordable Prices

Our prices are fairly priced in such a way that ensures affordability. Additionally, you can get a free price quotation by clicking on the "Place Order" button.

On-Time delivery

We pay strict attention on deadlines. For this reason, we ensure that all papers are submitted earlier, even before the deadline indicated by the customer. For this reason, the client can go through the work and review everything.

100% Originality

At Essay Helper, all papers are plagiarism-free as they are written from scratch. We have taken strict measures to ensure that there is no similarity on all papers and that citations are included as per the standards set.

Our support team is readily available to provide any guidance/help on our platform at any time of the day/night. Feel free to contact us via the Chat window or support email: support@acmehomework.com.

Try it now!

## Calculate the price of your order

We'll send you the first draft for approval by at
Total price:
\$0.00

How it works?

Fill in the order form and provide all details of your assignment.

Proceed with the payment

Choose the payment system that suits you most.

Our Services

Essay Helper has stood as the world’s leading custom essay writing services providers. Once you enter all the details in the order form under the place order button, the rest is up to us.

## Essay Writing Services

At Essay Helper, we prioritize on all aspects that bring about a good grade such as impeccable grammar, proper structure, zero-plagiarism and conformance to guidelines. Our experienced team of writers will help you completed your essays and other assignments.

Be assured that you’ll definitely get accepted to the Master’s level program at any university once you enter all the details in the order form. We won’t leave you here; we will also help you secure a good position in your aspired workplace by creating an outstanding resume or portfolio once you place an order.