June 9th, 2009, 04:22 AM
Passing AES encrypted packets between C++ and Java
Does anyone have experience or a good example with this kind of code?
I've written code that does this through sockets. Mainly - sends C++ packets to be decrypted on Java. After decryption the packets are gybrish. (Strings)
I've tried CBS with NoPadding.
Another issue I have which I temprorarly overcome with the NoPadding option is that JAVA would throw a Padding exception when trying to decrypt the block.
This is the first time i'm trying to do something like this so I guess the best thing would be to find a working example of this.
Tags for this Thread
Click Here to Expand Forum to Full Width
This a Codeguru.com survey!