working in Java lately I've been using Cipher Streams, CipherInputStream and CipherOutputStream. I'm looking for similar methods of stream ciphering in C++ that I could use on the other end of a socket wrapped in a CipherStream in java.
IE:
Have a server socket in CPP with a CipherInputStream wrapping it's InputStream, have a client socket in Java with a CipherOutputStream wrapping it's OutputStream.
This way, I could encrypt the data between the two.
There are reasons that I have to use C++ server side that I can't go into right now, I'm just looking for a way to achieve what I listed above. Any help would be greatly appreciated.