NAME

CryptCreateHash  (ADVAPI32.@)

SYNOPSIS

 BOOL CryptCreateHash
 (
  HCRYPTPROV  hProv,
  ALG_ID      Algid,
  HCRYPTKEY   hKey,
  DWORD       dwFlags,
  HCRYPTHASH* phHash
 )

DESCRIPTION

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 0.
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 "include/bcrypt.h". gitlab.winehq.org/wine/wine/blob/master/include/bcrypt.h

Implemented in "dlls/advapi32/crypt.c". gitlab.winehq.org/wine/wine/blob/master/dlls/advapi32/crypt.c

Debug channel "crypt".


Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Dec 2024.