Explanation

CryptCreateHash

CryptDestroyHash CryptDuplicateHash CryptGetHashParam CryptHashData

Returns a handle to a hash object, effectively creating an empty hash object. This object is related to the existing security context; hence, CSP handle.

Releases the hash handle, making the hash object no longer usable.

Creates an identical copy of a hash object, as the one supplied to this function.

Retrieves the value of a specific parameter from a hash object, referenced by the hash handle.

Takes a block of data, applies a hash algorithm on this data, and moves the hashed data into the specified hash object. The type of hash algorithm used is based on the parameters of the hash object. In case the data block is larger than can be handled by the hash function, it is possible to perform this function a number of times, using the same hash object. The already calculated hash will automatically become

Continued

Was this article helpful?

0 0

Post a comment