1 answer

I have two questions regarding the Block Cipher Modes: Which one of the modes is considered...

Question:

I have two questions regarding the Block Cipher Modes:

Which one of the modes is considered the best?
I know CBC has a problem of IV since the next block of the plain text is XORed with the result of cipher text of the last block and the same with OFB. Is CTR the best one or not?

In "SSL with blockciphers in CBC-mode", does TLS 1.2 use CBC or is there any other modes that is used with TLS 1.2 (SSL 3.0)?


Answers

There is no "best" mode of operation, just modes more or less useful in different situations.

CBC-mode requires an initialization vector which is unpredictable by the adversary (preferably random), especially if this adversary can mount a chosen plaintext attack. Up to TLS 1.0 (i.e. also in SSL 2.0 and 3.0), CBC was used with a "use last block of previous message as IV", and this is obviously not unpredictable if there is some time between the messages. TLS 1.1 fixes this by using a random per-message IV.

This problem can be avoided by implementations (without violating the protocol) by sending an empty message (which still gets padded to at least a full block) directly before any real message (i.e. after the application decided the content of the real message), and this is what OpenSSL does for quite some time.

(It helps only on the sending side, not the receiving one, though.)

CTR mode requires that the initialization vector is non-repeating for all uses of the same key, as identical IVs give an identical key stream (which is then XORed with the message) - the same is valid for OFB mode.

.

Similar Solved Questions

1 answer
No of hotel rooms & suites Year ended 12/31/2014 12/31/2013 12/31/2012 12/31/2011 12/31/2010 12/31/2009 12/31/2008 39,218...
No of hotel rooms & suites Year ended 12/31/2014 12/31/2013 12/31/2012 12/31/2011 12/31/2010 12/31/2009 12/31/2008 39,218 42,200 42,710 42.890 42,010 41,830 39.170 12/31/2007 12/31/2006 12/31/2005 12/31/2004 12/31/2003 12/31/2002 12/31/2001 12/31/2000 12/31/1999 12/31/1998 12/31/1997 12/31/1996 ...
2 answers
How to solve b) X and Y The following table gives the map coordinates and the...
how to solve b) X and Y The following table gives the map coordinates and the shipping loads for a set of cities that we wish to connect through a central hub. City Map Coordinates (x,y) Shipping Load A (4,10) (5,8) (4,9) (7,6) (6,9) (3,3) (3,5) 5 B 11 C 15 5 E 16 9 4. G a) For the location of the p...
1 answer
You are interested in knowing about the parenting that juvenile deliquents received. You go to a...
You are interested in knowing about the parenting that juvenile deliquents received. You go to a detention center and find that 25 delinquents had parents who were divorced. 17 of the delinquents had parents who were never married. 12 had parents who were married. What percentage of the delinquents ...
1 answer
How do you find the first and second derivative of #y = 2ln(x)#?
How do you find the first and second derivative of #y = 2ln(x)#?...
1 answer
I am stuck. I do not understand how to do this. Please help and explain. During...
I am stuck. I do not understand how to do this. Please help and explain. During the current year, Marilyn earned $115,000 as an accounting consultant. requirements: a. if she has no other income besides a $20,000 capital gain, how much can she claim as a qbi deduction? b. If she is married and file...
1 answer
5.10 Use the MATLAB series and feedback functions to obtain the transfer functions C(s)/R(s) and C(s)/D(s)...
5.10 Use the MATLAB series and feedback functions to obtain the transfer functions C(s)/R(s) and C(s)/D(s) for the block diagram shown in Figure P5.7 Figure P5.7 D() RS) + 이 100 + 이...
1 answer
Recommend and describe at least 3 new actions that and organization can take to strengthen legal...
Recommend and describe at least 3 new actions that and organization can take to strengthen legal and ethical compliance. Cite at least 1 reputable reference...
1 answer
What religion dominates Russia?
What religion dominates Russia?...
1 answer
Lacourse inc's inspection costs are listed below: Units Produced January 428 February 378 March 447 April...
Lacourse inc's inspection costs are listed below: Units Produced January 428 February 378 March 447 April 462 May 404 June 379 July 454 August 405 Inspection Costs $ 6,126 $ 5,637 $ 6, 341 $ 6,479 $ 5,887 $ 5,640 $ 6,406 $ 5,900 Management believes that inspection cost is a mixed cost that depen...
1 answer
Page ECT Or Temperature < 7 > AVM of 13 0 1. Match the statements below...
Page ECT Or Temperature < 7 > AVM of 13 0 1. Match the statements below to one of the reactions. Supply the reaction number. Number Reaction 1 SOC12(C) + H2O(C) SO2(g) + 2 HCl(8) 2 CH4(8) + 2 Cl2(g) → CH2Cl2(g) + 2 HCl(g) HgO(S) Hg() + 102(g) I2(g) → Iz(s) 2 HI(g) + H2(g) + 12(S) + +...
1 answer
Required information The Foundational 15 [LO4-1, L04-2, LO4-3, L04-4, LO4-5) (The following information applies to the...
Required information The Foundational 15 [LO4-1, L04-2, LO4-3, L04-4, LO4-5) (The following information applies to the questions displayed below) Clopack Company manufactures one product that goes through one processing department called Mixing. All raw materials are introduced at the start of work ...
1 answer
SI-4 In the projectile motion the value of the horizontal range Ris a maximum when the...
SI-4 In the projectile motion the value of the horizontal range Ris a maximum when the angle of projectes Select one a zero degree b. 60 degree c. 75 degree d. 30 degree e 45 degree...
1 answer
Reserve Problems Chapter 12 Section 1 Problem During a research, the amount of Internet users was...
Reserve Problems Chapter 12 Section 1 Problem During a research, the amount of Internet users was measured. Each time three random groups of 30,000 people of the average age of 20, 40, and 60 were considered. The data are as follows xj - the number of years since the beginning of the research, 2 - a...
1 answer
Match the QuickBooks form on the left with the customer scenario on the right that is,...
Match the QuickBooks form on the left with the customer scenario on the right that is, when would you use each QuickBooks form). Sales Order Target You want to remind your customer about the outstanding invoices they still owe you for invoices they st IL Invoice Target Customer received goods and pa...
1 answer
Federal Income Tax Withholding Bob Dunn's weekly gross earnings for the present week were $2,580. Dunn...
Federal Income Tax Withholding Bob Dunn's weekly gross earnings for the present week were $2,580. Dunn has three exemptions. Using the wage bracket withholding table in Exhibit 2 with a $75 standard withholding allowance for each exemption, what is Dunn's federal income tax withholding? Roun...
1 answer
Define the concept of four the four classifications of birth control methods and give ONE example...
define the concept of four the four classifications of birth control methods and give ONE example for each 1hormonal method 2)natural method 3)surgical method...