Uninitialize the Crypt library
_Crypt_Shutdown ( )
Calling this function is only needed if _Crypt_Startup() has been called.
Search CryptReleaseContext in MSDN Library.
#include <Crypt.au3> #include <MsgBoxConstants.au3> Example() Func Example() _Crypt_Startup() ; To optimize performance start the crypt library, though the same results will be shown if it isn't. Local $sData = "..upon a time there was a language without any standardized cryptographic functions. That language is no more." ; Data that will be hashed. Local $sOutput = "The following results show the supported algorithms for retrieving the hash of the data." & @CRLF & @CRLF & _ "Text: " & $sData & @CRLF & _ "MD2: " & _Crypt_HashData($sData, $CALG_MD2) & @CRLF & _ "MD4: " & _Crypt_HashData($sData, $CALG_MD4) & @CRLF & _ "MD5: " & _Crypt_HashData($sData, $CALG_MD5) & @CRLF & _ "SHA1: " & _Crypt_HashData($sData, $CALG_SHA1) MsgBox($MB_SYSTEMMODAL, "Supported algorithms", $sOutput) _Crypt_Shutdown() ; Shutdown the crypt library. EndFunc ;==>Example