Returns the number of bytes in the hash output for the algorithm defined in the current HASH context.
Public Declare Function HASH_DigestLength Lib "diCryptoSys.dll" (ByVal hContext As Long) As Long
nLen = HASH_DigestLength(hContext)
long _stdcall HASH_DigestLength(long hContext);
The number of bytes in the hash output for the algorithm defined in the current HASH context, or a negative error code.
Dim h As Long
Dim nLen As Long
h = HASH_Init(API_HASH_SHA256)
nLen = HASH_DigestLength(h)
Debug.Print "HASH_DigestLength = " & nLen
HASH_DigestLength = 32