Calculates the double-pass "broken" SHA-1 hash of the
specified password using ASCII encoding.

Declaration Syntax
public static byte[] DoubleHashPassword(
string data,
int clientToken,
int serverToken
)
Public Shared Function DoubleHashPassword ( _
data As String, _
clientToken As Integer, _
serverToken As Integer _
) As Byte()

Parameters
- data (String)
- The password to hash.
- clientToken (Int32)
- The client token,
a randomly-generated value specified by the client.
- serverToken (Int32)
- The server token, a
randomly-generated value specified by the server.

Return Value
A 20-byte buffer containing the hash value.
Assembly: Asgard5Library (Module: Asgard5Library)