Jason Wylde wrote:Can I prevent the carriage return / line feeds ?
Don't use a Base64 decoder. The standard specs for it say that it wraps lines. Or, make sure you filter out the whitespace properly both in and out.
Also, the algorithms are defined on arrays of unsigned octets. This is not at all the same as a Java