

Message Id: | 0x36 |
---|---|
Message Name: | SID_CDKEY2 |
Direction: | Client to Server |
Used By: | Warcraft II BNE |
Format: |
|
This packet is an updated version of SID_CDKEY (0x30), designed to prevent CDKeys from being stolen, by sending them hashed instead of plain-text.
The data that should be hashed is for 16 character keys (hashed using BSHA1):
(UINT32)
Client Token(UINT32)
Server Token(UINT32)
Key Product value (from decoded CD key)(UINT32)
Key Public value (from decoded CD key)(UINT32)
Key Private value (from decoded CD key)
This differs from the hash in [SID_AUTH_CHECK].
* The CD Key owner name must be no greater than 15 characters, otherwise it becomes trimmed by Battle.net.