Base64
Really, who hasn’t written one of these at some point either in school or at work. Even more crazy is that Sun doesn’t ship a public base64 encoder and decoder in the JDK. Sure you can use the sun.misc.BASE64Encoder/Decoder, but it’s not public. Why? I have no idea. I’m sure there’s a reason.
I’m releasing an updated Base64 encoder/decoder in Java. Currently the code is rfc3548 and rfc4648 compliant. I’ve uploaded the code to github as a public repository.
git://github.com/jhowk/Base64.git
Enjoy.