Does not http://developer.android.com/reference/android/util/Base64.html satisfy your need?