I read about the CBC mode of encryption in wikipedia where it said that in 3DES method a message is divided into 16 digit blocks each and then they are encrypted or decrypted. Every block which is encrypted is XORed with the next plaintext and then it is encrypted. I got this information from here well explained in a diagram. http://en.wikipedia.org/wiki/Block_cipher_modes_of_operation#Cipher-block_chaining_.28CBC.29
My problem is that I have to decrypt a message of length 14, so it will be a single block. So now how am I going to implement CBC for such a small message? There won't be next block to be XORed with.