Commutative and ecb mode

Assignment Help Computer Network Security
Reference no: EM13185977

1. Give an example to show that the group of permutations S5 is not commutative.

2. Use ECB mode with block length 3 and the permutation cipher for the following operation:

(a)  Encrypt the plaintext 101100101111; key k =  2129_Computer algebra system Maple.png

(b) Do the corresponding decryption.

To help with the next two questions, here are examples of block cipher encryption in CFB mode and in OFB mode. In both examples the block cipher, plaintext, and key are the same as in the examples for ECB and CBC modes that were presented in class.

Choose block length r = 3. The plaintext blocks are therefore m1 = 101, m2 = 100, m3 = 010, rn4 = 100, m5 = 101. As initialization vector, use IV = 1010. The CFB encryption is then shown in the left-hand table, and OFB encryption in the right-hand table:

2437_Computer algebra system Maple1.png

3. Encrypt the plaintext 100101110001 using (a) CFB mode and (b) OFB mode. Use the permutation cipher with block length 3, r = 2, and

key k = 2129_Computer algebra system Maple.png. Use initialization vectors 000 in (a) and 010 in (b).

4. Do the decryptions corresponding to 4(a) and 4(b).

5. Use the stream cipher discused in class, with n = 7 and c0 = c1 = 1, c2 = c3 = 0, c4 = c5 = c6 = 1. Encrypt w = 1110011 1110001 1010001 using the key k = 1010011.

6. (Nothing to be handed in). This may be the right time to familiarize yourself with the computer algebra system Maple. About how to download Maple. Our textbook (Trappe & Washington) has a very nice introduction in Appendix B, with instructions on how to download a special cryptography "notebook" for Maple. Do a few easy examples on the shift cipher and the affine cipher (pp. 498-499). Let me know of any problems you may have.

When we start using Maple in earnest in a few weeks, I will have to assume that everybody is familiar with the system.

Reference no: EM13185977

Questions Cloud

What are the expected winnings far a ticket buyer : what are the expected winnings far a ticket buyer? Express to at least three decimal place accuracy in dollar form (as opposed to cents).
How to increase sales taxes to bring in badly needed revenue : Governor Brown, from the state of Taxafornia, wants to increase sales taxes to bring in badly needed revenue to support state operations. He is looking at taxing various goods and services. Will the state tax revenue be great..
Compute the ionization energy : Using the thermodynamic data below, and a value of -717 kJ/mol for the Ulattice enthalpy for KCl, calculate the ionization energy of K. Hint: Remember to plug in numbers to the equation given in course content.
State acetyl serine is completely hydrolyzed : A reaction mixture containing 20 mM O-acetyl serine, 50 mM NaCl, 50 mM HEPES buffer (pH 7.6), and O-acetyl serine acetylase is incubated in 37C until O-acetyl serine is completely hydrolyzed.
Commutative and ecb mode : Give an example to show that the group of permutations S5 is not commutative and ECB mode with block length 3 and the permutation cipher for the given operation
What are some of the impediments to hiring : We are in the midst of a slow growing economy in the aftermath of a severe recession. During the economic downturn many businesses laid off workers very quickly once they forecast their sales were dropping. What is the economic reasons behind cutt..
The absorption of other waste gas components into the water : Neglect the absorption of other waste gas components into the water, and the evaporation of water into the waste gas stream. What rate is NH3 is being removed from the feed gas? mol/hr
What is the pressure if the temperature of the system raised : liquid water and sealed at 25C and a pressure of 1.00 bar. What is the pressure if the temperature of the system is raised to 60.0C?
Explain problems of adverse selection in rural credit market : Suppose instead that you (the lender) have no information on the type of borrower and you have to charge a single interest rate to all borrowers. Also assume that the probability that you will end up with each type of borrower is equal (e.g. 1/3 ..

Reviews

Write a Review

Computer Network Security Questions & Answers

  Using biometric device at office and home easily and cheaply

ESSAYS a special requirement mentioned back in milestone 1, Jack millss wished the system to have "state-of-the-art-maybe some biometric device which can be used in office and at home easily and cheaply.

  Future of internet anonymity services

Discuss what you believe to be the most important lesson you have learnt as a result of these discussions. Explain the impact of this and its application/impact in real life.

  Access control models

Compare and contrast access control models. Select an access control model that best prevents unauthorized access for each of the five scenarios given below

  Design a security plan that describes counter-measures

Design a security plan that describes counter-measures that will manage the threats that put the organisation's information holdings at risk and disaster recovery processes.

  Write the different techniques use in detecting intrusion

Explain in detail about system security and write down the different techniques use in detecting intrusion. Explain the answer must be accompanied by algorithm.

  Denial of service and distributed denial of service attacks

US cryptography export restrictions: past, present, and future and biometrics for authentication: security and privacy implications.

  Content of e-mail rightfully belongs to sender-receiver

Who does content of e-mail rightfully belongs to sender or receiver? Are security threats overblown? Present the example to support response.

  Define physical secuirty and three types of threats

Define Physical secuirty and three types of threats related with physical security. Write down the steps in designing and choosing a secure site in detail.

  It infrastructure groups

Information Technology infrastructure groups are often responsible for direct customer interaction and associated customer service.

  Security vulnerabilities of vc

single access point (AP), wireless network, CSMA/CA, goals of information security, Wireless LANs, wireless hacking process, Wired Equivalent Privacy (WEP), Open System Authentication and Shared Key Authentication, Initialisation Vector (IV), RADIU..

  Reasonable to compute rsa signature on long message

Would it be reasonable to compute an RSA signature on a long message by first finding what the message equals, mod n, and signing that?

  Analyse potential attacks and give a method of prevention

Write a key exchange protocol for A and B to share a symmetric key. Analyse potential attacks and give a method of prevention and write a key exchange protocol for A and B to share a session key. Must consider mutual authentication, freshness, inte..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd