Yahoo! Messenger Protocol: Difference between revisions

Content deleted Content added
m Better categorization
JavaKid (talk | contribs)
Line 27:
==Login==
 
The login process for YMSG is quite complex. First the client introduces itself with a message containing its [[username]]. The server responds with a rather long seed value. resembling superficially the form of a mathematical equation (perhaps as a means to mask its true usage). The client feeds this into a rather involved [[algorithm]], along with the account's [[password]], to produce two response values looking like variable assignments which are sent to the server. If these values match the server's expectations, the client is admitted and sent data associated with that account (such as buddy/friends lists).
 
Although the seed value looks like an equation, it is in reality little more than a series of instructions in which the [[operand]]s control lookups into a series of in-built tables, and the [[Operator (programming)|operators]] determine which logic operation to perform. [[SHA1]] is also used to create two [[message digest]] data arrays, which are then encoded using a table to resemble software variable [[Assignment (computer science)|assignment]]s.