The following classes are copied from Apache Commons Codec:
The classes are slightly modified to minimize imports.
Used apache commons codec version: 1.4
Provides Base64 encoding and decoding as defined by RFC 2045.
Converts String to and from bytes using the encodings required by the Java specification.