CryptoSys API Library Manual

cipherUpdate

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

Syntax

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

Parameters

hContext
Handle to the CIPHER context.
lpData
Input data to be processed.

Return Value

Byte(): Encrypted/decrypted block the same length as the input, or an empty array on error.

Remarks

The input byte array must be a length exactly a multiple of the block size, except for the last chunk in CTR/OFB/CFB mode. Input in ECB/CBC mode must be suitably padded to the correct length.
[PREV: cipherStreamUpdate...]   [Contents]   [Index]   
   [NEXT: cipherUpdateHex...]

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