Could resist the title sorry. Anyway, down to business. I wrote up a simple encoder/decoder program. For some reason, the decryption information always comes back with extra information. A sample of the program running is below. If I open the output file, it always contains some unreadable binary data, sometimes with extra spaces. The words show up fine, but there is extra data. Should I be using "ByteArrayOutputStream"?
If I print it out to the system, it shows up with extra spaces with every line, with no visible extra binary data. Please look at the bottom to see the weird results.
Here it is running :
I can edit out the unnecessary stuff if you want, but the code is relatively short so I won't bother unless you ask me too.
Here is the contents of "simple"
Here is the contents of output.ShouldBeWorking :
Thank you very much. I hope you all have a very Merry Christmas and a Happy New Year