CryptCreateHash (ADVAPI32.@)
BOOL CryptCreateHash ( HCRYPTPROV hProv, ALG_ID Algid, HCRYPTKEY hKey, DWORD dwFlags, HCRYPTHASH* phHash )
Initiates the hashing of a stream of data.
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. |
Success: TRUE
Failure: FALSE.
If the algorithm is a keyed hash, hKey is the key.
Defined in "wincrypt.h".
Implemented in "dlls/advapi32/crypt.c". source.winehq.org/source/dlls/advapi32/crypt.c
Debug channel "crypt".
Copyright © 2008 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Nov 2008.