public static int GenerateTumbler(int userid, string username, string key) { string hUserID = MyLib.IntToHex(userid).ToUpper(); string s = hUserID + key + username + key; return(ProcessInput(s)); }
public static string DateToHex(DateTime d) { TimeSpan ts = d - mjcDate; int days = ts.Days; return(MyLib.IntToHex(days)); }