Modify the algorithm to rectify the above problem

Assignment Help Basic Computer Science
Reference no: EM13298031

3. Consider a simple symmetric encryption algorithm as follows:   
1- Input text T and 64 bit key K
2- Divide T into 64 bit size blocks B1...Bn
3- Get first block B1 and perform bit-wise XOR with K to
produce encrypted block E1
4- Repeat
a. Get next block Bi and perform bit-wise XOR with Ei-1
to produce encrypted block Ei
5- Until End of Text
Page 3 of 4
The algorithm is very simple, and naturally, we do not expect the ciphertext to be
cryptographically strong. Given the above algorithm answer the following:
a. Is it a problem if the first block of input happens to be the same as the key?
Explain why?  
b. Modify the algorithm to rectify the above problem.

Reference no: EM13298031

Questions Cloud

Needs to manage its telecommunications costs more effective : The retail store knows that it needs to manage its telecommunications costs more effectively. Based on the owner's goals to maximize the Internet for this purpose, provide a solution that will support the telecommunications (phone and fax) nee..
What is the moment of inertia of the merry-go-round : The radius of a park merry-go-round is 2.4 m. To start it rotating, you wrap a rope around it and pull with a force of 260 N for 11 s. What is the moment of inertia of the merry-go-round
What caused your perception to change : What is a perception you have had of another culture that has changed? What caused your perception to change? How might values of different peoples become more alike the more they interact with one another?
How to calculate the concentration of h3o+ of the solution : A 0.010 M HCN solution is .020% ionized. Calculate the concentration of H3O+ of this solution. Please show work and solution.
Modify the algorithm to rectify the above problem : Modify the algorithm to rectify the above problem.
What is global income in 2010 : Suppose that they have no other income, interest expenses are unchanged, and taxes are the same percentage of pretax income as in 2009.
Define flow at a hydraulic jump in terms of flow : Define flow at a hydraulic jump (upstream and downstream) in terms of the types of flow and corresponding Froude number. What is the depth of water at each section (upstream and downstream) compared to critical depth
How large a check could be written without it bouncing : At the present time, how large a check could be written without it bouncing? Round your answer to the nearest hundredth of million, if necessary.
Explain single carbon-carbon bonds represent potential : The polyyne molecules CkH2 with alternating triple and single carbon-carbon bonds represent potential nanowires for molecular electronics. They can be modelled as linear 1D-boxes with 2k

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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