I use DESede/ECB/NoPadding and my code worksDES and DESede require the data length to be a multiple of 8 bytes. Using DESede/ECB/NoPadding, it is your responsibility to force this condition. You could use
correctly. but when i put some string to encrypt that
is not a multiple of 8, as you know, it crash.
dun forget DESede uses 112 or 168 size keysThis is a little simplistic as far as the SunJCE JCE provider is concerned.
997956 wrote:a) DES and DESede are now deprecated in favour of AES.
So, it's a slightly old thread, but maybe could you post the code for doing DESede/ECB/NoPadding?