I'm using this code for DES encryption: How do I use 3des encryption/decryption in Java?
I'm encrypting byte array of size 8. As far as I know, it should result in encrypted data of size 8. But the result is 16 bytes.
I've done necessary edits in the code to do DES encryption of byte array. Like changed the algo name to DES (than DEDede), key size of 8 bytes (than 24) etc.