C#公共类
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
526 B

namespace Common.Helper.Encryption
{
public class ConnectionStringsHelper
{
/// <summary>
/// 直接返回解密后的connectionString
/// </summary>
/// <param name="configName"></param>
/// <param name="configValue"></param>
/// <returns></returns>
public static string GetDesConfig(string configName,string configValue)
{
return DesHelper.DesDecrypt(AppSettingJsonHelper.GetSection(configName, configValue));
}
}
}