byte[] encodeBase64 = Base64.encodeBase64("到了是是是是".getBytes("UTF-8")); System.out.println("RESULT: " + new String(encodeBase64));
import org.apache.commons.codec.binary.Base64;
时间: 2024-10-15 03:23:22
byte[] encodeBase64 = Base64.encodeBase64("到了是是是是".getBytes("UTF-8")); System.out.println("RESULT: " + new String(encodeBase64));
import org.apache.commons.codec.binary.Base64;