CryptoSys API Library Manual

AEAD_StartEncrypt

Start authenticated encryption (in incremental mode).

VBA/VB6 Syntax

Public Declare Function AEAD_StartEncrypt Lib "diCryptoSys.dll" (ByVal hContext As Long) As Long

nRet = AEAD_StartEncrypt(hContext)

C/C++ Syntax

long __stdcall AEAD_StartEncrypt(long hContext);

Parameters

hContext
[in] handle to the AEAD context set up by an earlier call to AEAD_InitKey.

Returns (VBA/C)

If successful, the return value is zero; otherwise it returns a nonnegative error code.

.NET Equivalent

Aead.StartEncrypt Method

Remarks

May be followed by zero or more calls to AEAD_Update to encrypt data in chunks. Must eventually be followed by AEAD_FinishEncrypt. Returns MISUSE_ERROR if called out of sequence.

Example

See the example in AEAD_InitKey.

[Contents] [Index]

[PREV: AEAD_StartDecrypt...]   [Contents]   [Index]   
   [NEXT: AEAD_Update...]

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