Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

Search Results for "CryptCreateHash" in [All]

advapi32

.
Summary
The CryptCreateHash function initiates the hashing of a stream of data. It creates and returns to the calling application a handle to a CSP hash object. This handle is used in subsequent calls to CryptHashData and CryptHashSessionKey to hash session keys and other streams of data.
.

public static extern bool CryptCreateHash(IntPtr hProv, uint algId, IntPtr hKey, uint dwFlags, ref IntPtr phHash);

.

Declare Auto Function CryptCreateHash Lib "advapi32.dll" (ByVal hProv As IntPtr, _

.
Documentation
[CryptCreateHash] on MSDN
.
Summary
The CryptHashData function adds data to a specified hash object. This function and CryptHashSessionKey can be called multiple times to compute the hash of long or discontinuous data streams. Before calling this function, CryptCreateHash must be called to create a handle of a hash object.
.
Summary
The CryptVerifySignature function verifies the signature of a hash object. Before calling this function, CryptCreateHash must be called to create the handle of a hash object. CryptHashData or CryptHashSessionKey is then used to add data or session keys to the hash object. After CryptVerifySignature has been completed, only CryptDestroyHash can be called using the hHash handle.

 
Access PInvoke.net directly from VS: