CryptCreateHash3w
Usage
BOOL CryptCreateHash
(
HCRYPTPROV hProv,
ALG_ID Algid,
HCRYPTKEY hKey,
DWORD dwFlags,
HCRYPTHASH* phHash
)
Overview
Initiates the hashing of a stream of data.
Params
hProv [In] Handle of a CSP.
Algid [In] Identifies the hash algorithm to use.
hKey [In] Key for the hash (if required).
dwFlags [In] Reserved for future use and must be NULL.
phHash [Out] Address of the future handle to the new hash object.
Returns
Success: TRUE
Failure: FALSE.
Notes
If the algorithm is a keyed hash, hKey is the key.
Implementation
Declared in "wincrypt.h".
Implemented in "dlls/advapi32/crypt.c".
Debug channel "crypt".
Releases
4 releases since Debian 4.0 (Etch); the text changed 3 times.