예제 #1
0
        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());
        }
예제 #2
0
        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());
        }