|
|
@@ -25,10 +25,10 @@ public class CryptTool {
|
|
|
//将JSON串进行URLEncoder 编码,编码格式都是 UTF-8
|
|
|
try {
|
|
|
biz_content = URLEncoder.encode(biz_content, "UTF-8");
|
|
|
- log.info("urlencode加密=====", biz_content);
|
|
|
+ log.info("urlencode加密====={}", biz_content);
|
|
|
//base64加密
|
|
|
biz_content = encryptBASE64(biz_content.getBytes());
|
|
|
- log.info("base64加密=====", biz_content);
|
|
|
+ log.info("base64加密====={}", biz_content);
|
|
|
} catch (UnsupportedEncodingException e) {
|
|
|
e.printStackTrace();
|
|
|
}
|