chenjiahe
2021-10-21 bd9061f1b13a02f198cda816d36b7014ddd7f8ac
src/main/java/com/hx/util/rsa/RSAUtil.java
@@ -64,7 +64,7 @@
            byte[] bytes = cipher.doFinal(content.getBytes());
            return byte2Base64(bytes);
        } catch (Exception e) {
            logger.error("公钥加密失败{}", e);
            //logger.error("公钥加密失败{}", e);
        }
        return null;
    }
@@ -77,7 +77,7 @@
            byte[] bytes = cipher.doFinal(base642Byte(content));
            return new String(bytes);
        } catch (Exception e) {
            logger.error("私钥解密失败{}", e);
            //logger.error("私钥解密失败{}", e);
        }
        return null;
    }