摘要:
// 将 s 进行 BASE64 编码 public static String getBASE64(String s) { if (s == null) return null; return (new sun.misc.BASE64Encoder()).encode( s.getBytes() ); } // 将 BASE64 编码的字符串 s 进行解码 public static String getFromBASE64(String s) { if (s == null) return null; BASE64Decoder decoder = new BASE64Decoder(); 阅读全文
posted @ 2013-10-15 19:18
茄子_2008
阅读(32599)
评论(0)
推荐(1)
浙公网安备 33010602011771号