Tag Info

New answers tagged

1

This depends entirely on how your encryption method works. There is a well-known way to serialize and deserialize a class instance in java to its byte form, however you shouldn't mistake this for encryption. Encryption would be an operation to be performed on the byte array itself to transform it into something difficult to reverse without a proper key of ...


0

The serialization API makes a specific promise: If you save the bytes created by a serialize() call, you can later feed them into a deserialize() call, and your object will be reconstructed. That is all it does. You are doing something different: you are feeding a different stream of data to the deserializer. That isn't in its job description, so ...


4

In my purview, Object is undefinitive, and belongs in a binary format, not in a human-readable text. I don't see the relationship between these two things; there are plenty of good reasons to choose text versus binary: this is not one of them. How it appears is an implementation detail only. any derived type of Object The biggest challenge, then, ...



Top 50 recent answers are included