If I try to change the code and use PCS5Padding ...
Posted: Wed Jul 03, 2013 3:29 pm
.. the encryption doesn't work. I receive a ShortBufferException: Output buffer too short: 32 bytes given, 48 bytes needed
Hello,
I was trying to setup the code so I could use PCS5Padding in the encryption mode but I noticed that I can't. Do you have any idea what should I do to make it work ? And, if you think it's better with nopadding, why ?
Hello,
I was trying to setup the code so I could use PCS5Padding in the encryption mode but I noticed that I can't. Do you have any idea what should I do to make it work ? And, if you think it's better with nopadding, why ?