Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Hashes a block of data based on a symmetric cryptography algorithm.
HRESULT
___stdcall HashFinal(
__in PINFORMATIONCARD_CRYPTO_HANDLE hCrypto,
__in DWORD cbInData,
__in_bcount( cbInData ) PBYTE pInData,
__out DWORD* pcbOutData,
__out_bcount( *pcbOutData ) PBYTE* ppOutData );
Parameters
Parameter | Description |
---|---|
hCrypto |
Handle to the cryptography object returned from a call to GetKeyedHash. |
cbInData |
The length, in bytes, of the input buffer. |
pInData |
The data to be transformed. |
pcbOutData |
The length of the transformed data. |
ppOutData |
The pointer to the buffer that contains the transformed data. Call GlobalFree to free the memory associated with this pointer after use. |
Property Value/Return Value
HRESULT. If any of the parameters are NULL or 0, returns E_INVALIDARG.
Requirements
Windows Vista
Header: Declared in infocard.h.
Library: Use infocardapi.lib.
See Also
Reference
Copyright © 2007 by Microsoft Corporation. All rights reserved.