/// <summary> /// 3DES解密字符串 /// </summary> /// <param name="desPara">3DES解密参数</param> /// <param name="inString">待解密字符串</param> /// <param name="outString">[OUT]已解密字符串</param> /// <param name="errMsg">[OUT]错误信息</param> /// <returns>执行结果</returns> public static bool CF_DecryptString(this ModDESTripleParameter desPara, string inString, out string outString, out string errMsg) { return(DESTripleEncrypt.CF_DecryptString(desPara, inString, out outString, out errMsg)); }
/// <summary> /// 3DES解密字节数组 /// </summary> /// <param name="desPara">3DES解密参数</param> /// <param name="inBytes">待解密字节数组</param> /// <param name="outBytes">[OUT]已解密字节数组</param> /// <param name="errMsg">[OUT]错误信息</param> /// <returns>执行结果</returns> public static bool CF_DecryptBytes(this ModDESTripleParameter desPara, byte[] inBytes, out byte[] outBytes, out string errMsg) { return(DESTripleEncrypt.CF_DecryptBytes(desPara, inBytes, out outBytes, out errMsg)); }
/// <summary> /// 3DES解密文件 /// </summary> /// <param name="desPara">3DES解密参数</param> /// <param name="inFilePath">待解密文件路径</param> /// <param name="outFilePath">[OUT]已解密文件存储路径</param> /// <param name="errMsg">[OUT]错误信息</param> /// <returns>执行结果</returns> public static bool CF_DecryptFile(this ModDESTripleParameter desPara, string inFilePath, string outFilePath, out string errMsg) { return(DESTripleEncrypt.CF_DecryptFile(desPara, inFilePath, outFilePath, out errMsg)); }