예제 #1
0
        public static string GetToken(string apiKey, string secretKey, string salt)
        {
            string token = ClassMD5.GetMd5Hash(apiKey + salt + secretKey);

            return(System.Web.HttpUtility.UrlEncode(token));
        }
예제 #2
0
 public string GetResultKey(string url)
 {
     return(ClassMD5.GetMd5Hash(String.Format(url, string.Empty)));
 }