Skip to content

Latest commit

 

History

History
49 lines (33 loc) · 1.18 KB

CryptDestroyHash.md

File metadata and controls

49 lines (33 loc) · 1.18 KB

Home

Function name : CryptDestroyHash

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.


Code examples:

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

Declaration:

BOOL WINAPI CryptDestroyHash(
  HCRYPTHASH hHash
);  

FoxPro declaration:

DECLARE INTEGER CryptDestroyHash IN advapi32;
	INTEGER hHash  

Parameters:

hHash [in] Handle of the hash object to be destroyed.


Return value:

If the function succeeds, the return value is TRUE.


Comments:

There should be a one-to-one correspondence between calls to CryptCreateHash and CryptDestroyHash.