Guntermann & Drunck DVICenter DP16 Configuration and Operation User Manual
Page 130

Controlling the matrix switch via XML
122 · G&D DVICenter
The encrypted data block (
CipherValue
) consists of a combination of initialization vec-
tor and encrypted text with BASE64-coded padding.
The data block is formed as follows:
Padding
is required to make the data block to be encrypted multiple times larger than
block size (8 bytes). The XML API expects that the last byte of the padding states
the number of added padding bytes. The padding bytes are to be randomly selected.
The initialization vector is required for stream ciphers (here:
CBC
). It is randomly
selected in the encryption mode
Password encryption
. Its size corresponds to the block
size of the selected encryption (8 bytes).
IV
encrypted data
plain text
padding
Initialization Vector (IV)
encrypt using
BASE64
encoded data