code: private static String privateBase64Decoder(String decode, int flags) {
  		if (flags == -1) {
  			flags = Base64.DEFAULT;
  		}
  
  		byte[] data1 = Base64.decode(decode, flags);
  		String decodedBase64 = null;
  		try {
  			decodedBase64 = new String(data1, "UTF-8");
  		} catch (UnsupportedEncodingException e) {
  			e.printStackTrace();
  		}
  
  		return decodedBase64;
  	}
docs: Private decoder in base64
  
  @param toDecode
  String to be encoded
  @param flags
  flags to decode the String
  @return decoded String in base64