Transport Layer:Transmission Control Protocol (TCP)
Application v1 TCP Messages (SID)
Message Id:0x29
Direction:Client to Server
Used By:Starcraft Shareware, Starcraft Japanese
Diablo Retail, Diablo Shareware
Warcraft II BNE
Message Format:
(does not include protocol header)
(UINT32)     Client Token
(UINT32)     Server Token
 (UINT8)[20] Password Hash
(STRING)     Username 


Contains Client's username and hashed password. password hashes are hashed twice using XSHA-1. First, the password is hashed by itself, then the following data is hashed again and sent to

  1. (UINT32) Client Token
  2. (UINT32) Server Token
  3. (UINT8)[20] First password hash

Passwords should be converted to lowercase before hashing, for compatibility with Blizzard games.

| Edited: Anonymous


no one has commented yet.