Java tutorial
//package com.java2s; import android.util.Base64; public class Main { public static String decode(String str, int time) { System.out.println(str); String result = new String(str); for (int i = 0; i < time; i++) { System.out.println("i : " + i); byte[] decode = Base64.decode(result.getBytes(), Base64.NO_WRAP); result = new String(decode); } return result; } }