Hashing and Digital Signature Functions Summary

The functions described in this section are used by applications to compute hashes (also known as message digests), and are also used to create and verify digital signatures. The following table briefly describes each function.

Function Description
CryptCreateHash Create an "empty" hash object.
CryptDestroyHash Destroy a hash object.
CryptGetHashParam Retrieve a hash object parameter.
CryptHashData Hash a block of data, adding it to the specified hash object.
CryptHashSessionKey Hash a session key, adding it to the specified hash object.
CryptSetHashParam Set a hash object parameter.
CryptSignHash Sign the specified hash object.
CryptVerifySignature Verify a digital signature, given a handle to the hash object that was supposedly signed.