- CBC-mode is a more advanced mode of opration. It solves most problems of
- ECB-mode. It again works by spliting up the message into blocks and intoducing
- a initialisation vector (IV) at the beginning. The IV should be randomly
- generated and is not required to be kept secret. The plaintext of each block
- is XORed with the ciphertext of the previous block (the first block is XORed
- with the IV) and then gets encrypted producing the ciphertext block.
+ CBC-mode is a more advanced mode of operation. It solves most problems of
+ ECB-mode. It again works by split ing up the message into blocks and
+ introducing a initialization vector (IV) at the beginning. The IV should be
+ randomly generated and is not required to be kept secret. The plaintext of
+ each block is XORed with the ciphertext of the previous block (the first block
+ is XORed with the IV) and then gets encrypted producing the ciphertext block.