base64Encode output length calculation changed.