CryptCreateHash(3w)

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.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.