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.