SHA1_Init initialises the SHA-1 context ready for subsequent calls with
SHA1_AddString, SHA1_AddBytes, and SHA1_HexDigest.
Public Declare Function SHA1_Init Lib "diCryptoSys.dll"
() As Long
Dim hContext As Long
hContext = SHA1_Init()
None.
long _stdcall SHA1_Init(void);
Long: non-zero handle of the SHA-1 context hContext.
Returns zero if an error occurs.
It is important to check for a zero context handle and stop if one occurs.
See SHA1_HexDigest
SHA1_AddString
SHA1_AddBytes
SHA1_HexDigest
SHA1_Reset