**C++ Hashing Class**
Objective: Create a hashing class in native C++ (prefer Visual Studio 2008) with four methods as follows:
CHash methods
bool CreateNTLMHash( const char *pszTextToHash,
char *pszDestBufferForHash );
bool CreateWEPHash( const char *pszTextToHash,
char *pszDestBufferForHash );
bool CreateWPAHash( const char *pszTextToHash,
char *pszDestBufferForHash );
bool CreateWPA2Hash( const char *pszTextToHash,
char *pszDestBufferForHash );
I am not sure if the SSID is needed for WPA and/or WPA2 hashing. Please adjust any methods as necessary.
This class may be used with NVIDIA graphics cards, so care must be take to maintain code that can be compiled on any C++ platform.
Example:
char szDestHashBuffer[50];
CreateNTLMHash( "Test", szDestHashBuffer );
// Now szDestHashBuffer will contain hash and be
// null terminated.