Resets the context.
Public Declare Function SHA2_Reset Lib "diCryptoSys.dll"
(ByVal hContext As Long) As Long
nRet = SHA2_Reset(hContext)
Long handle to the SHA-1 context.
long _stdcall SHA2_Reset(long ctx_handle);
Long: If successful, the return value is 0;
otherwise it returns a non-zero error code.
Destroys the existing context. The results of any part-messages added to the context will be lost.
This trivial example creates a context handle and then destroys it.
Dim nRet As Long
Dim hContext As Long
hContext = SHA2_Init()
nRet = SHA2_Reset(hContext)
SHA2_Init
SHA2_AddString
SHA2_AddBytes
SHA2_HexDigest