

Continued use of these apps may cause your IP to be blocked indefinitely. This triggers our anti-spambot measures, which are designed to stop automated systems from flooding the site with traffic.

Remember bsha is little endian so the least significant byte of the first resulting dword of the final internal state is the first byte of output. The hashed data for bsha is as above, which I shall repeat here so the distinction between the 26-char keys is clear. Note: I refer to dwords here because while the output is a bit string the internal state is indeed a set of dwords. In addition the hashed key data is not the same for the different key sizes. VERY IMPORTANT: When I say Dword Input for some variable passed to these functions you're going to have to put the least significant byte of that dword into the least significant byte of the internal state for bsha, and into the most significant byte for sha1 and so on in order to get the correct output. If you presume the output of these functions are dwords not bit strings you may not send the correct data since the BNCS protocol is itself little-endian. It is important to note that while sha1 is represented in big endian, bsha is little endian. Implementations of bsha and sha1 are available across the internet so I won't explain them in detail here. Specifically the 26-character product codes use sha1 and the 13/16 character product codes uses bsha. I make the distinction here because both bsha and sha1 are used with this message. This means (Dword) Hashed Key Data is in fact (Byte) Hashed Key Data. While this comment applies to every message that contains a hash it is especially pertinent to the authentication check message used by WC3/D2/SC because the distinction is more obvious. Any other game will cause unexpected results. ** Spawn value can only be TRUE for STAR, JSTR, and W2BN. * The CD Key owner name must be no greater than 15 characters, otherwise it becomes trimmed by. It is returned as the "info" value from the CheckRevision() function. The format and value of the EXE Information string is dependent on the specific MPQ provided in SID_AUTH_INFO. (UINT8) Key Private value (from decoded CD key).(UINT32) Key Private value (from decoded CD key)įor 26 character keys (hashed using standard SHA1):.(UINT32) Key Public value (from decoded CD key).(UINT32) Key Product value (from decoded CD key).The data that should be hashed for Hashed Key Data is:įor 13/16 character keys (hashed using BSHA1): This is the primary value used in determining if the check fails or not. Checksum: The "checksum" value returned by the CheckRevision() function.Version: The "version" value returned by the CheckRevision() function.Once generated this value should not change for the duration of the session.
Starcraft brood war 1 13 cd key password#

Sends the results from the CheckRevision() operation as well as CD key information to the server for verification.
