Which standard does the encoding follow? Mime (RFC 2045), or PEM (RFC 1421), or other? I’m concerned about interoperation with PHP 5’s base64_encode/decode functions, which are MIME-compatible.
It doesn’t follow any standard - it’s just something I wrote quickly because I needed it, and thought might be handy to put in the library. But it’s probably not compatible with anything else!
Thats rather unfortunate. I took a peek at the Juce and PHP source. Looks like I will be writing a PEM decoder/encoder soon …
If you write one and the code is very similar, let me know and maybe it’d be worth me adding an encoding type option to that method, so it could use either the juce version or an official standard.