Do I need to encode my encrypted bytes when sending it through java data streams for instant messaging? Sending encrypted bytes don't look very safe to me.
If so, should I use Hex or Base64 encoding?
Thanks
Do I need to encode my encrypted bytes when sending it through java data streams for instant messaging? Sending encrypted bytes don't look very safe to me.
If so, should I use Hex or Base64 encoding?
Thanks
vladimir, how are u , i have a similiar problem, im building an ecommerce app for my school.
Im using the bouncy castle libraries
How do i read the public key from the certificate once the ssl connection has been open between the server.
Hope you can help.
It turns out that its up to me. There is no real need unless I'm working with email protocols. Since I've implemented everything myself, its just a matter of convenience.
SSL already encrypts your data. Although the need may come up, encrypting data twice is usually unnecessary and consumes too much CPU time. This is especially relevant on mobile devices.