String str = "abc"; String encode = new String(Base64Utils.encode(str.getBytes())); System.out.println("加密后:" + encode); String decode = new String(Base64Utils.decode(encode.getBytes()), "utf8"); System.out.println("解密后:" + decode);
标签:decode,String,System,springframework,util,encode,org,Base64Utils From: https://www.cnblogs.com/ooo0/p/17751609.html