Does serialization support encryption?
Location: http://www.jguru.com/faq/view.jsp?EID=44567 Created: May 4, 2000 Modified: 2000-05-04 08:37:06.035 Author: Tim Rohaly (http://www.jguru.com/guru/viewbio.jsp?EID=10) Not directly. I/O in Java is performed through streams, and encryption is typically implemented as an algorithm operating on a stream – the input to the stream is clear text, the output is encrypted. Serialization is stream-oriented, so any encryption that can be performed on any stream can also be applied to serialized objects.