From 0a4d0a2f2c0b36210c62d5e2b215a0e1eac36e02 Mon Sep 17 00:00:00 2001 From: fhx <308050795@qq.com> Date: 星期五, 21 七月 2023 16:23:19 +0800 Subject: [PATCH] 1.新增文件处理方法 --- src/main/java/com/hx/util/rsa/RSAUtil.java | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/hx/util/rsa/RSAUtil.java b/src/main/java/com/hx/util/rsa/RSAUtil.java index 45349a3..f874515 100644 --- a/src/main/java/com/hx/util/rsa/RSAUtil.java +++ b/src/main/java/com/hx/util/rsa/RSAUtil.java @@ -64,7 +64,8 @@ byte[] bytes = cipher.doFinal(content.getBytes()); return byte2Base64(bytes); } catch (Exception e) { - logger.error("鍏挜鍔犲瘑澶辫触{}", e); + e.printStackTrace(); + //logger.error("鍏挜鍔犲瘑澶辫触{}", e); } return null; } @@ -77,7 +78,7 @@ byte[] bytes = cipher.doFinal(base642Byte(content)); return new String(bytes); } catch (Exception e) { - logger.error("绉侀挜瑙e瘑澶辫触{}", e); + //logger.error("绉侀挜瑙e瘑澶辫触{}", e); } return null; } -- Gitblit v1.8.0