3DES encryption and padding

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top