chenjiahe
2022-01-07 be7219736d216147bd541b705ddeeb520462eaab
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;
    }