CryptoSys API Library Manual

cipherUpdateHex

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

Syntax

[VBA]
Public Function cipherUpdateHex ( _
    hContext As Long, _
    szInputHex As String _
) As String

Parameters

hContext
Handle to the CIPHER context.
szInputHex
Hex-encoded input data.

Return Value

String: Hex-encoded encrypted/decrypted chunk the same length as the input, or empty string "" on error.

Remarks

The input must represent data of 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: cipherUpdate...]   [Contents]   [Index]   
   [NEXT: cnvB64Filter...]

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