#include <CryptHash.h>
Public Member Functions | |
| CCryptHash () | |
| Constructs an empty hash object. | |
| void | Destroy () |
| Destroy the hash object, if created. | |
| BOOL | Create (HCRYPTPROV hProv, ALG_ID algId, HCRYPTKEY hKey=NULL, DWORD dwFlags=0) |
| Create a new hash object. | |
| BOOL | Hash (const void *pbData, DWORD dwDataLen, DWORD dwFlags=0) |
| Hash a block of data. | |
| BOOL | GetParam (DWORD dwParam, BYTE *pbData, DWORD *pdwDataLen, DWORD dwFlags=0) |
| Get a parameter from the hash object. | |
| BOOL | GetSize (DWORD *pdwSize) |
| Return the size of the hash. | |
| BOOL | GetValue (PBYTE pbData, DWORD *pdwDataLen) |
| Get the hash value. | |
| BOOL | GetAlgId (ALG_ID *pAlgId) |
| Get the algorithm id of the hash object. | |
| operator HCRYPTHASH () const | |
| HCRYPTHASH extractor. | |
|
||||||||||||||||||||
|
Create a new hash object.
|
|
|
Get the algorithm id of the hash object.
|
|
||||||||||||||||||||
|
Get a parameter from the hash object.
|
|
|
Return the size of the hash.
|
|
||||||||||||
|
Get the hash value.
|
|
||||||||||||||||
|
Hash a block of data.
|
1.3.9.1