1
hutongqing
2024-10-30 ea0628889f64f802768c4fdf17d2223424e5e29f
WIDESEAWCS_Server/WIDESEAWCS_Core/Helper/SecurityEncDecryptHelper.cs
@@ -56,7 +56,7 @@
        public static string DecryptDES(this string decryptString, string decryptKey)
        {
            if (decryptKey == AppSecret.DB && !AppSettings.app(MainDb.ConnectionStringsEncryption).ObjToBool())
            if (decryptKey == AppSecret.DB && !AppSettings.Get(MainDb.ConnectionStringsEncryption).ObjToBool())
                return decryptString;
            byte[] rgbKey = Encoding.UTF8.GetBytes(decryptKey.Substring(0, 16));