 |
CryptHashData ..msdn Add comment W32 Constants Translate this page |
 |
 |
Adds data to a specified hash object.
|
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
BOOL WINAPI CryptHashData(
HCRYPTHASH hHash,
BYTE* pbData,
DWORD dwDataLen,
DWORD dwFlags
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER CryptHashData IN advapi32;
INTEGER hHash,;
STRING @ pbData,;
LONG dwDataLen,;
LONG dwFlags
|
 |
 |
 |
| Parameters: |
 |
hHash
[in] Handle of the hash object.
pbData
[in] Pointer to a buffer containing the data to be added to the hash object.
dwDataLen
[in] Number of bytes of data to be added. This must be zero if the CRYPT_USERDATA flag is set.
dwFlags
[in] Ignore. |
 |
 |
| Return value: |
 |
| If the function succeeds, the return value is TRUE. |
 |
 |
| My comment: |
 |
| This function and CryptHashSessionKey can be called multiple times to compute the hash of long or discontinuous data streams. |
 |
 |
| Word Index links for the CryptHashData : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2005-03-07 15:33:35 | | Modified: | 2005-03-07 15:40:11 | Visited in last 7 days: 22 |