加密 String str = "123456"; String encodeStr = new BASE64Encoder().encode((str).getBytes()) 解密 String encodeStr="MTIzNDU2"; String str=new String(new BASE64Decoder().decodeBuffer(encodeStr),"UTF-8")
加密 String str = "123456"; String encodeStr = new BASE64Encoder().encode((str).getBytes()) 解密 String encodeStr="MTIzNDU2"; String str=new String(new BASE64Decoder().decodeBuffer(encodeStr),"UTF-8")