CryptoSys API Library Manual

aeadUpdate

Encrypts or decrypts a chunk of input (in incremental mode).

Syntax

[VBA]
Public Function aeadUpdate ( _
    hContext As Long, _
    lpData() As Byte _
) As Byte()

Parameters

hContext
Handle to the AEAD context set up by an earlier call to aeadInitKey.
lpData
Data to be encrypted or decrypted.

Return Value

Byte(): Encrypted or decrypted data in array of exactly the same length as input; or an empty array on error

Remarks

This function may be repeated to add data in chunks. The input data is encrypted or decrypted depending on the start mode set by a preceding call to aeadStartEncrypt or aeadStartDecrypt, respectively. It must eventually be followed by either aeadFinishEncrypt or aeadFinishDecrypt, which must match the start mode.
[PREV: aeadStartEncrypt...]   [Contents]   [Index]   
   [NEXT: apiCompileTime...]

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