Group: Cryptography Reference - Library: advapi32
The CryptDestroyHash function destroys the hash object referenced by the hHash parameter. After a hash object has been destroyed, it can no longer be used.
CryptoAPI: Collection of Providers class
How to create MD-5 and SHA-1 hash values from a string
A class that encrypts and decrypts files using Cryptography API Functions
BOOL WINAPI CryptDestroyHash(
HCRYPTHASH hHash
);
DECLARE INTEGER CryptDestroyHash IN advapi32;
INTEGER hHash
hHash [in] Handle of the hash object to be destroyed.
If the function succeeds, the return value is TRUE.
There should be a one-to-one correspondence between calls to CryptCreateHash and CryptDestroyHash.