3DES encryption and padding

  • Thread starter Thread starter Mikael Engdahl
  • Start date Start date
M

Mikael Engdahl

Hi,

I want to encrypt a string using 3DES CBC using PKCS#5 padding.

The TripleDESCryptoServiceProvider only seems to support PKCS7 padding
(the PaddingMode enumeration contains 'PKCS7' and 'Zeroes').

How do I do PKCS5 padding?

/Mikael
 
Back
Top