static byte[] base64Decode(final String text) { try { return Base64.decode(text); } catch (final IOException e) { e.printStackTrace(); return null; } }
static String base64Encode(final byte[] data) { return Base64.encodeBytes(data); }