Question

modes. + There cise 4 different types o Block cipher with their advantages and disadvantages? compare diferent block capher m
0 0
Add a comment Improve this question Transcribed image text
Answer #1

A block cipher is an encryption algorithm that calls the fixed size of the input as C bits and then constructs the ciphertext of the C bits. If the input is larger than C bits it can be further divided.

Electronic Code Book (ECB) - The easiest block cipher mode of functioning is an electronic codebook. It is easier because of direct encryption of each block of input plaintext and output is in form of blocks of encrypted ciphertext.

Advantages -

1. Simple method of a block cipher.

2. Parallel encryption of blocks of bits is possible, thus it is a faster method of encryption.

Disadvantages-

1. There is a risk of cryptoanalysis from having a direct connection between plaintext and ciphertext.

Cipher Block Chaining – Cipher block chining or CBC is an advancement over the ECB because the ECB compromises certain security requirements. In CBC, the previous cipher block is given as input to the next encryption algorithm after XOR with the original plaintext block.

Advantages -

1. CBC is a good authentication mechanism.

2. CBC works well for input greater than c bits.

Disadvantages-

1. Parallel encryption is not possible because every encryption requires a previous cipher.

Cipher Feedback Mode (CFB) – In this mode, the cipher is given as feedback for the next block of encryption with some new specifications: first an initial vector IV is used for first encryption and output bits are divided as set of s and b-s bits the left-hand side s bits are selected and are applied an XOR operation with plaintext bits. The result given as input to a shift register and the process continues.

Advantages -

1. Since, there is some data loss due to the use of the shift register, it is difficult to implement cryptoanalysis.

2. Save our code from external users.

Disadvantages-

1.The CPU is not free during the entire process of ciphertext.

Output Feedback Mode – It involves feeding back sequential output blocks from the underlying block cipher. These response blocks provide strings of bits to feed the encryption algorithm that act as a key-stream generator in the case of CFB mode.

Advantages -

1. Bit errors in transmission do not propagate to encryption.

Disadvantages-

1. It is more vulnerable to a message flow modification attack than a CFB in mode of operation.

Add a comment
Know the answer?
Add Answer to:
modes. + There cise 4 different types o Block cipher with their advantages and disadvantages? compare...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Game Description: Most of you have played a very interesting game “Snake” on your old Nokia...

    Game Description: Most of you have played a very interesting game “Snake” on your old Nokia phones (Black & White). Now it is your time to create it with more interesting colors and features. When the game is started a snake is controlled by up, down, left and right keys to eat food which appears on random locations. By eating food snake’s length increases one unit and player’s score increases by 5 points. Food disappears after 15 seconds and appears...

  • Question 1 An array is NOT: A - Made up of different data types. B - Subscripted by integers. C -...

    Question 1 An array is NOT: A - Made up of different data types. B - Subscripted by integers. C - A consecutive group of memory chunks. D - None of the choices. Question 2 How many times is the body of the loop executed? int i=1; while(true) { cout << i; if(++i==5) break; } A - Forever B - 4 C - 5 D - 6 E - 0 Question 3 What is wrong with the following piece of...

  • First, read the article on "The Delphi Method for Graduate Research." ------ Article is posted below...

    First, read the article on "The Delphi Method for Graduate Research." ------ Article is posted below Include each of the following in your answer (if applicable – explain in a paragraph) Research problem: what do you want to solve using Delphi? Sample: who will participate and why? (answer in 5 -10 sentences) Round one questionnaire: include 5 hypothetical questions you would like to ask Discuss: what are possible outcomes of the findings from your study? Hint: this is the conclusion....

  • Why did the Energy Telematics project fail and why was Joel's tram vaught off guard by...

    Why did the Energy Telematics project fail and why was Joel's tram vaught off guard by the hostile reaction of the truck drivers at the Omaha depot? MINI CASE Working Smarter at Continental Furniture International Joel Parsons hurried down the hall to the monthly executive committee meeting doing a mental checklist of all the things he was responsible for: sales analysis-check; mar keting stats-check; quarterly and YTD financials-check; operating statistics-check trends in each of these areas-check. Parsons was right hand...

  • QUESTION 1: Why must project manager should have good technical skills but also good management skills?...

    QUESTION 1: Why must project manager should have good technical skills but also good management skills? QUESTION 2: **Communication and Communicator are related" This quote from the text suppose that the communication process is lead by the spokeperson. Do you think is it a gift" to be a good communicator or a skill to improve ( use example of your knowledge to answer)? QUESTION 3: Look at the text paragraph yellow highlighted, and do you think that in today's world...

  • ABC International: Solving the Rural Barrier

         Compensation sessionABC International:   Solving the Rural BarrierSource: Thunderbird School of Global Management, A unit of the Arizona State University Knowledge Enterprise. 2015. This case was prepared by Erin Bell under the guidance and supervision of Dr. Amanda Bullough, and revised and updated by Drew Helm for the purpose of classroom discussion only, and not to indicate either effective or ineffective managementSiham sat with her family and childhood friend, Leila, in their rural village of Qabatiya, Palestine. Leila had recently returned from...

  • This C++ Program consists of: operator overloading, as well as experience with managing dynamic memory allocation...

    This C++ Program consists of: operator overloading, as well as experience with managing dynamic memory allocation inside a class. Task One common limitation of programming languages is that the built-in types are limited to smaller finite ranges of storage. For instance, the built-in int type in C++ is 4 bytes in most systems today, allowing for about 4 billion different numbers. The regular int splits this range between positive and negative numbers, but even an unsigned int (assuming 4 bytes)...

  • Please read the article and answer about questions. You and the Law Business and law are...

    Please read the article and answer about questions. You and the Law Business and law are inseparable. For B-Money, the two predictably merged when he was negotiat- ing a deal for his tracks. At other times, the merger is unpredictable, like when your business faces an unexpected auto accident, product recall, or government regulation change. In either type of situation, when business owners know the law, they can better protect themselves and sometimes even avoid the problems completely. This chapter...

  • SYNOPSIS The product manager for coffee development at Kraft Canada must decide whether to introduce the...

    SYNOPSIS The product manager for coffee development at Kraft Canada must decide whether to introduce the company's new line of single-serve coffee pods or to await results from the product's launch in the United States. Key strategic decisions include choosing the target market to focus on and determining the value proposition to emphasize. Important questions are also raised in regard to how the new product should be branded, the flavors to offer, whether Kraft should use traditional distribution channels or...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT