Android compatibility

In Android environment, there is **commons-codec** version 1.4 without `encodeBase64String()` method.