Parameters

[in] HCRYPTHASH handle to the hash object created by calling the CryptCreateHash function.

pbData

[in] Pointer to a buffer containing the data to be hashed.

dwDataLen

[in] Specifies the number of bytes of data to be hashed. This value must be zero if the CRYPT_USERDATA flag is set.

dwFlags

[in] Bitmask of flags. All Microsoft cryptographic service providers ignore this parameter. The CRYPT_USERDATA flag value is defined for other cryptographic service providers (CSPs).

If the CRYPT_USERDATA flag is set, the CSP prompts the user to input data directly and adds the data to the hash. Access directly to the hash data is not allowed; instead, applications manipulate the hash values through the hash handle. This flag allows the users to enter a personal identification number (PIN) into the system.