|
|
Message ID: |
0x0B |
Message Name: |
BNLS_HASHDATA
|
Direction: |
Client -> Server (Sent) |
Format: Help
Hint: Field names highlighted in blue will display a definition if you hover over the text. |
(DWORD) Size of Data
(DWORD) Flags
(VOID) Data to be hashed.
Optional:
(DWORD) Client Key (Double Hash only)
(DWORD) Server Key (Double Hash only)
(DWORD) Cookie (Cookie Hash only) |
Remarks: |
This message will calculate the hash of the given data.
The hashing algorithm used is the Battle.net standard hashing algorithm also known as "Broken SHA-1"
The flags may be zero, or any bitwise combination of the defined flags.
Currently, the following flags are defined:
0x01: Flags Unused
This flag has no effect.
0x02: Double Hash
If this flag is present, the server will calculate a double hash.
First it will calculate the hash of the data. Then it will prepend the client key and the server key to the resulting hash, and calculate the hash of the result. If this flag is present, the client key and server key DWORDs must be specified in the request after the data.
This may be used to calculate password hashes for the "Old Logon System".
0x04: Cookie Hash
If this flag is present, a cookie DWORD is specified in the request.
This is an application-defined value that is echoed back to the client in the response.
View consts: [pas cpp vb]
|
Related Links: |
[S>0x0B] BNLS_HASHDATA
|
|
Printable Version
|
User Comments:
Posted by Iarn on 24/10/04 03:55 |
Where would the cookie hash come in?
|
#219 |
|
|
|
|
Battle.Net©® 1996 - 2002 Blizzard Entertainment. All rights reserved.
Battle.net and Blizzard Entertainment are trademarks or registered trademarks
of Blizzard Entertainment in the U.S. and/or other countries.
Blizzard Entertainment©® is a trademark or registered trademark of
Blizzard Entertainment in the U.S. and/or other countries. All rights reserved.
StarCraft©® 1998 Blizzard Entertainment. All rights reserved. StarCraft
and Blizzard Entertainment are trademarks or registered trademarks of Blizzard
Entertainment in the U.S. and/or other countries.
StarCraft©®: Brood War©® 1998 Blizzard Entertainment.
All rights reserved. StarCraft, Brood War and Blizzard Entertainment are
trademarks or registered trademarks of Blizzard Entertainment in the U.S. and/or
other countries.
The following applies to material & trademarks not owned by Blizzard Entertainment:
All material on this website is protected by copyright, and may not be reproduced without
the explicit permission of the copyright owner. The copyright owner reserves all rights
with respect to the acts protected by copyright. Any dispute pertaining to copyright shall
be resolved according to the laws of the United Kingdom. For more information,
contact the copyright owner.
|