Cipher Block Chaining

In Cipher Block Chaining (CBC) mode, each block of plaintext is XOR'd with the previously-encrypted block. CBC mode uses the Initialization Vector (IV) to encrypt the first block. It is recommended that the IV be randomly chosen:

Cipher block chaining mode