SHARE
SPREAD
HELP

The Tradition of Sharing

Help your friends and juniors by posting answers to the questions that you know. Also post questions that are not available.


To start with, Sr2Jr’s first step is to reduce the expenses related to education. To achieve this goal Sr2Jr organized the textbook’s question and answers. Sr2Jr is community based and need your support to fill the question and answers. The question and answers posted will be available free of cost to all.

 

#
Authors:
William Stallings
Chapter:
Classical Encryption Techniques
Exercise:
Review Questions
Question:4 | ISBN:9781292158587 | Edition: 7

Question

What is the difference between a block cipher and a stream cipher?

TextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbookTextbook

Answer

One thing that differs between the block cipher and stream cipher is how data is getting encrypted. Block cipher and stream cipher are two ways of reaching the end goal of securing the data.

Let’s dive deep and further divide the difference between these two techniques

 

Block Cipher:

 

  1. Block ciphers break up plaintext messages into fixed-size blocks, which are then converted into ciphertext using a key.    
  2. It was relatively slow in encryption as each block separated before encryption.
  3. In Block cipher encryption, error propagation is high, error in one symbol may corrupt the entire block.
  4. It was immutable, i.e., difficult to modify without getting caught

 

Stream Cipher:

 

  1. On the other hand, stream ciphers divide a plaintext message into individual bits, which are then individually converted into ciphertext using a key.
  2. It was faster than block cipher encryption.
  3. Here, the error margin is low. Error in one symbol does not affect the subsequent symbols
  4. It was more susceptible to do modifications.

 

0 0

Discussions

Post the discussion to improve the above solution.