Difference Between Stream Cipher and Block Cipher
BLOCK CIPHER | STREAM CIPHER |
---|---|
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 |
Block cipher uses either 64 bits or more than 64 bits | While stream cipher uses 8 bits |
The complexity of block cipher is simple | While stream cipher is more complex |
Block cipher Uses confusion as well as diffusion | While stream cipher uses only confusion |
In block cipher, reverse encrypted text is hard | While in stream cipher, reverse encrypted text is easy |
Block cipher works on transposition techniques like rail-fence technique, columnar transposition technique, etc... | While stream cipher works on substitution techniques like Caesar cipher, etc... |
Block cipher is slow as compared to stream cipher | While stream cipher is fast in comparison to block cipher |
Follow Us