Skip to content
Advertisement

Tag: encode

Java Base64 encoding loss of data

say I have the following snippet, where certificate is a java Certificate object: Is there any chance data will not be equal to newData? basically, is there loss of information to string and then back? Thanks Answer Assuming nothing explodes due to out-of-memory errors or similar general problems, this code should be fine, with one big exception: You are transforming

Advertisement