CryptoSys API Library Manual

MD5_Init

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

VB6/VBA Syntax

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

Dim hContext As Long
hContext = MD5_Init()

Parameters

None.

C/C++ Syntax

long _stdcall MD5_Init(void);

Returns (VB6/C)

Long: 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]

[HOME]   [NEXT: MD5_Reset...]

Copyright © 2001-11 D.I. Management Services Pty Ltd. All rights reserved.