Explaining simple symmetric encryption algorithm

Assignment Help Data Structure & Algorithms
Reference no: EM1355789

Q1) 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. The algorithm is very simple, and naturally, we do not expect the cyphertext 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: EM1355789

Questions Cloud

Informed consent and counsellor : What must be included in an informed consent form ethically? Why are counsellors required to have a written informed consent form? In what ways are both the counsellor and the client being protected by such a document?
Eight steps for accounting cycle : What are the eight steps in the accounting cycle and how do they affect the financial statements? What happens if one is missing?
Pension expense-journal entries : Compute pension expense and prepare the journal entry to record pension expense and the employer's contribution to the pension plan in 2010.
Compute the degree of financial leverage : Make a common size income statement for Dreamscape, Corporation for the year ended December 31, 2005. Evaluate the company's performance against industry average ratios and against last year's results.
Explaining simple symmetric encryption algorithm : Consider a simple symmetric encryption algorithm as follows:Is it a problem if the first block of input happens to be the same as the key? Explain why?
How much work has the electric field done on proton : In a head on collision, a car stops in .10 seconds from a speed of 14 meters per second. The driver has a mass of 70 kg, and is, fortunately, tightly strapped into his seat. What force is applied to driver by his seat belt during that fraction of ..
Accounts receivable-bad debt journal entries : Prepare example journal entries to account for transactions related to accounts receivable and bad debt using both percentage of sales and the percentage of receivables methods.
Illustrate what recieves goverment subsides : Illustrate what recieves goverment subsides that are in place to protect the population rather than for economic reasons.
Right of access to files : What should clients be told with respect to their right of access to files? Describe a counselling situation in which such rights might come into play. One reference of a valid article.

Reviews

Write a Review

Data Structure & Algorithms Questions & Answers

  Implement an open hash table

In this programming assignment you will implement an open hash table and compare the performance of four hash functions using various prime table sizes.

  Use a search tree to find the solution

Explain how will use a search tree to find the solution.

  How to access virtualised applications through unicore

How to access virtualised applications through UNICORE

  Recursive tree algorithms

Write a recursive function to determine if a binary tree is a binary search tree.

  Determine the mean salary as well as the number of salaries

Determine the mean salary as well as the number of salaries.

  Currency conversion development

Currency Conversion Development

  Cloud computing assignment

WSDL service that receives a request for a stock market quote and returns the quote

  Design a gui and implement tic tac toe game in java

Design a GUI and implement Tic Tac Toe game in java

  Recursive implementation of euclids algorithm

Write a recursive implementation of Euclid's algorithm for finding the greatest common divisor (GCD) of two integers

  Data structures for a single algorithm

Data structures for a single algorithm

  Write the selection sort algorithm

Write the selection sort algorithm

  Design of sample and hold amplifiers for 100 msps by using n

The report is divided into four main parts. The introduction about sample, hold amplifier and design, bootstrap switch design followed by simulation results.

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