public static string SignPay(IDictionary <string, string> parameters, string key = "") { string str = SignHelper.BuildQuery(parameters, false); str += $"&key={key}"; return(FormsAuthentication.HashPasswordForStoringInConfigFile(str, "MD5").ToUpper()); }
public static string SignPay(IDictionary <string, string> parameters, string key = "") { string text = SignHelper.BuildQuery(parameters, false); text += string.Format("&key={0}", key); return(FormsAuthentication.HashPasswordForStoringInConfigFile(text, "MD5").ToUpper()); }