派生自 projectDept/qhighschool

EricsHu
2023-11-23 bef4f6d51bff03c0512a75f43e79699b7296f1fa
src/main/java/com/qxueyou/scc/base/util/RSAUtils.java
@@ -9,8 +9,8 @@
//import com.qxueyou.scc.base.service.IConfigService;
/**
 * RSA加解密--调用远程加解密服务
 * @author 德虎
 * RSA加解密--调用远程加解密服务
 * @author 德虎
 *
 */
public class RSAUtils {
@@ -20,7 +20,7 @@
   private static RSAClient client;
   
   /**
    * 构建远程RSA加解密客户端
    * 构建远程RSA加解密客户端
    */
   private static void buildClient() {
      try {
@@ -33,7 +33,7 @@
   }
   
   /**
    * 调用远程加密服务对字符串加密
    * 调用远程加密服务对字符串加密
    * @param string
    * @return
    */
@@ -47,13 +47,13 @@
      try {
         return client.encrypt(string);
      } catch (Exception e) {
         log.error("加解密服务初始化错误:"+e.getMessage(), e);
         log.error("加解密服务初始化错误:"+e.getMessage(), e);
      }
      return null;
   }
   
   /**
    * 调用远程解密服务对密文字符串解决
    * 调用远程解密服务对密文字符串解决
    * @param string
    * @return
    */
@@ -73,7 +73,7 @@
   }
   /**
    * Hessian本地接口
    * Hessian本地接口
    * @author user
    *
    */