Prerequisite – Block cipher modes of operation
Both Block Cipher and Stream Cipher are belongs to the symmetric key cipher. These two block cipher and stream cipher are the methods used for converting the plain text into cipher text.
The main difference between Block cipher and Stream cipher is that block cipher converts Converts the plain text into cipher text by taking plain text’s block at a time. While stream cipher Converts the plain text into cipher text by taking 1 byte of plain text at a time.

Let’s see the difference between them:
| S.NO | Block Cipher | Stream Cipher |
|---|---|---|
| 1. | Block Cipher Converts the plain text into cipher text by taking plain text’s block at a time. | Stream Cipher Converts the plain text into cipher text by taking 1 byte of plain text at a time. |
| 2. | Block cipher uses either 64 bits or more than 64 bits. | While stream cipher uses 8 bits. |
| 3. | The complexity of block cipher is simple. | While stream cipher is more complex. |
| 4. | Block cipher Uses confusion as well as diffusion. | While stream cipher uses only confusion. |
| 5. | In block cipher, reverse encrypted text is hard. | While in stream cipher, reverse encrypted text is easy. |
| 6. | The algorithm modes which are used in block cipher are: ECB (Electronic Code Book) and CBC (Cipher Block Chaining). | The algorithm modes which are used in stream cipher are: CFB (Cipher Feedback) and OFB (Output Feedback). |
| 7. | Block cipher works on transposition techniques like Caesar cipher, polygram substitution cipher, etc. | While stream cipher works on substitution techniques like rail-fence technique, columnar transposition technique, etc. |
| 8. | Block cipher is slow as compared to stream cipher. | While stream cipher is fast in comparison to block cipher. |
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.
Recommended Posts:
- Difference between Block Cipher and Transposition Cipher
- Difference between Monoalphabetic Cipher and Polyalphabetic Cipher
- Difference between Substitution Cipher Technique and Transposition Cipher Technique
- Block Cipher modes of Operation
- Caesar Cipher in Cryptography
- Bifid Cipher in Cryptography
- Vernam Cipher in Cryptography
- Transforming a Plain Text message to Cipher Text
- Difference between Traditional Processing and Stream Processing
- foreach() loop vs Stream foreach() vs Parallel Stream foreach()
- Difference between DFD and ERD
- Difference between TDM and FDM
- Difference between PCA VS t-SNE
- Difference between SSH and SSL
- Difference between ZIP and RAR
- Web 1.0, Web 2.0 and Web 3.0 with their difference
- Difference between CRT and LCD
- Difference between DAS and NAS
- Difference between HLP and PCP
- Difference between PIP and PCP
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.
Improved By : ashushrma378

