CryptoSys API Library Manual

MD5_Init

Initialises the MD5 context ready for subsequent calls with MD5_AddString, MD5_AddBytes, and MD5_HexDigest.

VBA/VB6 Syntax

Public Declare Function MD5_Init Lib "diCryptoSys.dll" () As Long

Dim hContext As Long
hContext = MD5_Init()

C/C++ Syntax

long __stdcall MD5_Init(void);

Parameters

None.

Returns (VBA/C)

non-zero handle of the MD5 context hContext. Returns zero if an error occurs.

.NET Equivalent

Md5.Init Method

Remarks

It is important to check for a zero context handle and stop if one occurs.

Example

See MD5_HexDigest

See Also

MD5_AddString MD5_AddBytes MD5_HexDigest MD5_Reset

[Contents] [Index]

[PREV: MD5_HmacHex...]   [Contents]   [Index]   
   [NEXT: MD5_Reset...]

Copyright © 2001-24 D.I. Management Services Pty Ltd. All rights reserved. Generated 2024-01-07T07:42:00Z.