public static string DotKey(string UserID, string UserName, string Password) { string s = UserID + Password + UserName + Password; while (s.Contains(" ")) { int i = s.IndexOf(' '); s = s.Remove(i, 1); } s = s.ToUpper(); return(IntToDotted(TCipher.csHashint32(s))); }
private static int ProcessInput(string s) { while (s.Contains(" ")) { int i = s.IndexOf(' '); s = s.Remove(i, 1); } s = s.ToUpper(); int v = TCipher.csHashint32(s); return(v); }
public static int GetPassword(string p, string key) { return(TCipher.csHashint32(TCipher.SliceAndDice(p + key))); }