I'm using this code for DES-encryption: How do I use 3des encryption/decryption in Java?
Now, I want to encrypt a byte array with this. How can I do that?
I have changed the name of algo from DESede
to DES
and am obviously using an 8-byte key (not 24).