internal string GetPasswordHash(string password) { byte[] buffer = this.Session.DatabaseGuid.ToByteArray(); byte[] bytes = Encoding.Unicode.GetBytes(password); byte[] buffer3 = this.Guid.ToByteArray(); byte[] array = new byte[(buffer.Length + bytes.Length) + buffer3.Length]; buffer.CopyTo(array, 0); bytes.CopyTo(array, buffer.Length); buffer3.CopyTo(array, (int)(buffer.Length + bytes.Length)); return(CoreTools.ByteArrayToString(passwordDES.ComputeHash(array))); }