Java tutorial
//package com.java2s; import android.util.Base64; public class Main { public static byte[] base64Decrypt(String paramString) { byte[] arrayOfByte = Base64.decode(paramString, 0); if ((arrayOfByte == null) || (arrayOfByte.length == 0)) arrayOfByte = paramString.getBytes(); return arrayOfByte; } }