Question

In: Computer Science

Which block cipher mode to use? For each of the following scenarios, determine which of the...

  1. Which block cipher mode to use? For each of the following scenarios, determine which of the four block cipher modes discussed in class would be most appropriate. Justify your answer.

    1. Encryption of the social security number field within every record of a database.

    2. Encryption of a Word document (.doc) that will be sent as an email attachment.

    3. Sector-by-sector encryption of an external hard drive.

    4. Real-time encryption of a non-packetized bit stream (e.g. raw digital video).

    5. Suppose a communication system encrypts data using AES-128 and has the ability to update keys over the network; that is, when a node on the network needs to update its key, a network controller can send the node a new key encrypted with the current key. What block cipher mode would me most appropriate when encrypting the new key to send to the node?

Solutions

Expert Solution

Lets understand first what is Block Cipher :-

Encryption algorithms are divided into two categories based on input type, as block cipher and stream cipher. Block cipher is an encryption algorithm which takes fixed size of input say b bits and produces a ciphertext of b bits again. If input is larger than b bits it can be divided further.

For different applications and uses, there are several modes of operations for a block cipher.

a) Encryption of the social security number field within every record of a database:-

ECB(Electronic Code Book) mode is a most straightforward way of processing a series of sequentially listed message blocks.The ECB mode is deterministic, that is, if plaintext block P1, P2,…, Pm are encrypted twice under the same key, the output ciphertext blocks will be the same.

1)The user takes the first block of plaintext and encrypts it with the key to produce the first block of ciphertext.

2)He then takes the second block of plaintext and follows the same process with same key and so on.

b) Encryption of a Word document (.doc) that will be sent as an email attachment:-

OCB is by far the best mode, as it allows encryption and authentication in a single pass. Sending information via e-mail attachment is quick and easy but is open to the risk that someone other than the intended recipient can intercept it. This can be a serious problem if the information contained within the attachment is sensitive or confidential.

Microsoft Word allows you to apply a password to an individual file so that it can only be opened once the reader has entered the correct password.

c) Sector-by-sector encryption of an external hard drive:-

XTS should be used if you are encrypting external hard drive.Disk encryption is a technology which protects information by converting it into unreadable code that cannot be deciphered easily by unauthorized people.It uses Disk encryption software or hardware to encrypt every bit of data. It is used to prevent unauthorized access to data storage.

In disk level encryption, whole disk is encrypted including all files, folders, operating system and in order to boot, an authentication mechanism is required. It is implemented fully on the fly i-e before written on the disk,data is encrypted and only decrypted before use.

d) Real-time encryption of a non-packetized bit stream (e.g. raw digital video):-

ECB block cipher mode is used for VIDEO ENCRYPTION.This makes secure video encryption feasible for real-time applications without any extra dedicated hardware.


Related Solutions

Why in Cipher Block Chaining (CBC) mode, an initialization vector is needed in addition to the...
Why in Cipher Block Chaining (CBC) mode, an initialization vector is needed in addition to the Key?
What is a block cipher? What is the equation to describe a block cipher?
 What is a block cipher? What is the equation to describe a block cipher? What is symmetric key encryption and compare with Public key encryption? Why is a block cipher considered a keyed permutation? What is the most common block cipher currently in use? Explain the "key schedule" Considering the DES algorithm, what Caused it to encounter serious security issues? What are Sub-Bytes? What is the difference in output when considering ShiftRows and MixColumns? What is 3DES? 3DES is the workhorse of which industry and why?
Why is the Cipher Block Chaining (CBC) mode of operation considered preferable to the Electronic Code...
Why is the Cipher Block Chaining (CBC) mode of operation considered preferable to the Electronic Code Book (ECB) mode? Is it possible to perform encryption operations in parallel on multiple blocks of plaintext in the CBC mode? How about decryption?
Why is the Cipher Block Chaining (CBC) mode of operation considered preferable to the Electronic Code...
Why is the Cipher Block Chaining (CBC) mode of operation considered preferable to the Electronic Code Book (ECB) mode? Is it possible to perform encryption operations in parallel on multiple blocks of plaintext in the CBC mode? How about decryption?
Additional Supply and Demand Practice For each of the following scenarios, determine which curve or curves...
Additional Supply and Demand Practice For each of the following scenarios, determine which curve or curves will shift and in which direction they will move.  What will happen to the Equilibrium Price and Equilibrium Quantity? Consider the Market for a Snickers Bar. 1. The price of a Twix, a substitute good, increases. 2. The price of peanuts, and input in Snickers bar production decreases. 3. Snickers bars are linked to causing cancer. 4. Twix bars are linked to causing cancer. 5....
1. For each of the following scenarios, determine if there is an increase or decrease in...
1. For each of the following scenarios, determine if there is an increase or decrease in supply for the good in italics. Explain your reasoning using economic principles. a. Tomato growers have an unusually good season b. New medical evidence reports that consumption of organic products reduces the incidence of cancer. c. Wages of clothing producers increase. d. The price of silver increases. 2. For each of the following scenarios, determine if there is an increase or decrease in demand...
2. For each of the following scenarios, determine if it is an indicator of potential cash...
2. For each of the following scenarios, determine if it is an indicator of potential cash flow problems: (Hint: Review Chapter 5 PowerPoint notes on Slide 20 and Textbook on Pages 366-367.) Potential future cash flow problems Yes/No a. Growth in accounts receivable or inventories that is less the growth rate in sales. b. Increases in accounts payable that exceed the increase in inventories. c. Capital expenditures that substantially exceed cash flow from operations. d. Sales of marketable securities are...
1. For each of the following scenarios, determine if there is an increase/decrease in supply or...
1. For each of the following scenarios, determine if there is an increase/decrease in supply or quantity supply for the goods in Italics. Draw a supply and demand curve to examine the changes in equilibrium, if any. a.) Growers of tomatoes experience an unusually good growing season b.) The price of movie tickets, a substitute for Netflix movie rentals, goes up c.) The cost of producing tires increases d.) Kendrick Lamar, who is crazy about air travel, gets fired from...
For the following scenarios, determine which curve shifts (AD and/or SRAS and/or LRAS) and in which...
For the following scenarios, determine which curve shifts (AD and/or SRAS and/or LRAS) and in which direction. (a) A hurricane causes destruction of physical capital along the east coast. (b) Nominal wages fall (c) Government spends $2.2 trillion dollars.
Determine if each of the following scenarios are geometric, binomial or neither. (**If geometric or binomial...
Determine if each of the following scenarios are geometric, binomial or neither. (**If geometric or binomial make sure you explain how all conditions are met). A home improvement store advertises that 87% of its sunflower seeds will germinate (grow). Suppose that this claim is true. You buy a packet with 30 sunflower seeds from the store and plant them in your front yard. Let Y = the number of seeds that germinate. Shuffle a standard deck of cards (52 cards)....
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT