Is there any difference between Apache's Base64.encodeBase64 and Android's Base64.encode with Base64.Default flag? Is there any difference between Apache's Base64.encodeBase64 and Android's Base64.encode with Base64.Default flag? android android

Is there any difference between Apache's Base64.encodeBase64 and Android's Base64.encode with Base64.Default flag?


No, the difference is that with the default settings, Android's Base64 includes line terminators. To obtain the same result as with the Apache encoding, use Base64.NO_WRAP.