类 JtlwEncryptDecryptUtils

java.lang.Object
javabase.lorenwang.tools.safe.JtlwEncryptDecryptUtils

public class JtlwEncryptDecryptUtils
extends Object
功能作用:加密解密工具类 初始注释时间: 2020/12/11 6:24 下午 创建人:王亮(Loren) 思路: 方法: 注意: 修改人: 修改时间: 备注:
作者:
王亮(Loren)
  • 方法详细资料

    • getInstance

      public static JtlwEncryptDecryptUtils getInstance()
    • encrypt

      public String encrypt​(String srcData, String key, String ivs)
      加密字符串
      参数:
      srcData - 字符串
      key - 加密的key
      ivs - 加密解密的算法参数
      返回:
      返回加密后字符串,失败返回空null
    • decrypt

      public String decrypt​(String srcData, String key, String ivs)
      解密字符串
      参数:
      srcData - 字符串
      key - 加密的key
      ivs - 加密解密的算法参数
      返回:
      返回加密后字符串,失败返回空null