title: TripleDES Decryption truncating last character
body: <p>I have a .NET class that implements TripleDES encryption and decryption. The code is too much to post here. However, the problem is that while encryption is OK, decryption is inconsistent depending on the length of the original plaintext. I know that encryption is OK since other triple DES tools also give same value.</p>
  
  <p>Specifically, the last character is being cut off from the resulting plain text if the Length of the original Plaintext was 8,16,24,32,40 etc i.e 8n.</p>
  
  <p>The encryption mode is CBC
  The key size is 24 chars(192bits)
  The IV is 8 chars</p>