DES CBC

This is NOT the recommended mode of operation.

Last Updated Fri, 3 May 2019 16:53:00 -0400

Overview:

In this mode of operation, the first block is XORed with an initialization vector and the output is then encrypted using the key and the DES algorithm. In the case of DES, both initialization vector and the plaintext are 64 bits each. This method as suggested by its name, is a block chaining method in a way that each time the plaintext is XORed with the previous ciphertext and then encrypted using the key and DES encryption method. This chaining continues till all the blocks are encrypted. Similar steps are followed for the decryption and an initialization vector which is pre-decided is used at the start of the decryption process. It has a good authentication mechanism and is better than DES ECB because it has an extra layer of security by using the previous ciphertext along with the key and the plaintext. It is also more resistant to cryptanalysis than ECB but is still a not recommended mode of operation.

Getting Started:

Best Practices and Advisories:

For more details check the FAQ for this algorithm.