BNETDocs: Redux is no longer updated, this subdomain exists for archival purposes only. Visit the main site.


Generate Code: All packets

Packet Information

Message ID:0x0B
Direction:Client -> Server (Sent)
Used By:Starcraft Shareware, Starcraft Broodwar, Diablo Shareware, Diablo II, Warcraft II, Starcraft, Starcraft Japanese, Diablo, Diablo
Format:(DWORD) Size of Data
(DWORD) Flags
(VOID) Data to be hashed

(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 standard hashing algorithm also known as "Broken SHA-1"

*For clarity, the optional fields come after the VOID and not before.

The flags may be zero, or any bitwise combination of the following flags:

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:[0x0B] BNLS_HASHDATA (S->C)

User Comments

For detailed questions and discussion, visit the Research Forum

Apr 21, 2009
09:53 PM

Flags 0x00 is for a single hash request.

We recommend you use Firefox to view this site. This site has been optimized for Firefox.

Get Firefox
BNLS Server Status

= Online       = Offline Server Status v1 v2




= Online       = Offline


Site scripts and design copyrights reserved to Don Cullen.
Contents copyrighted to Blizzard and their parent corporation, Vivendi.
Main credits for contents goes to Arta. View the rest of credits.
Demented Minds copyrights reserved to Don Cullen 2003-present.
Copyright infringements will be prosecuted to the fullest extent allowable by law.
Please view our legal disclaimer and terms of service.