Reference Library
CalculateHash Method (data)
NamespacesMBNCSUtilXSha1CalculateHash(array<Byte>[]()[][])
Calculates the "broken" SHA-1 hash used by Battle.net.
Declaration Syntax
C#Visual BasicVisual C++
public static byte[] CalculateHash(
	byte[] data
)
Public Shared Function CalculateHash ( _
	data As Byte() _
) As Byte()
public:
static array<unsigned char>^ CalculateHash(
	array<unsigned char>^ data
)
Parameters
data (array<Byte>[]()[][])
The data to hash.
Return Value
A 20-byte array containing the hashed result.

Assembly: Asgard5Library (Module: Asgard5Library)