Reference Library
DoubleHashPassword Method (data, clientToken, serverToken)
NamespacesMBNCSUtilOldAuthDoubleHashPassword(String, UInt32, UInt32)
Calculates the double-pass "broken" SHA-1 hash of the specified password using ASCII encoding. This method is not CLS-compliant.
Declaration Syntax
C#Visual BasicVisual C++
[CLSCompliantAttribute(false)]
public static byte[] DoubleHashPassword(
	string data,
	uint clientToken,
	uint serverToken
)
<CLSCompliantAttribute(False)> _
Public Shared Function DoubleHashPassword ( _
	data As String, _
	clientToken As UInteger, _
	serverToken As UInteger _
) As Byte()
[CLSCompliantAttribute(false)]
public:
static array<unsigned char>^ DoubleHashPassword(
	String^ data, 
	unsigned int clientToken, 
	unsigned int serverToken
)
Parameters
data (String)
The password to hash.
clientToken (UInt32)
The client token, a randomly-generated value specified by the client.
serverToken (UInt32)
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)