Reference Library
DoubleHashData Method (data, clientToken, serverToken)
NamespacesMBNCSUtilOldAuthDoubleHashData(array<Byte>[]()[][], UInt32, UInt32)
Calculates the double-pass "broken" SHA-1 hash of the specified data. This method is not CLS-compliant.
Declaration Syntax
C#Visual BasicVisual C++
[CLSCompliantAttribute(false)]
public static byte[] DoubleHashData(
	byte[] data,
	uint clientToken,
	uint serverToken
)
<CLSCompliantAttribute(False)> _
Public Shared Function DoubleHashData ( _
	data As Byte(), _
	clientToken As UInteger, _
	serverToken As UInteger _
) As Byte()
[CLSCompliantAttribute(false)]
public:
static array<unsigned char>^ DoubleHashData(
	array<unsigned char>^ data, 
	unsigned int clientToken, 
	unsigned int serverToken
)
Parameters
data (array<Byte>[]()[][])
The data buffer 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)