Controlling the central power supply via XML
20
· G&D MultiPower-6-NT
It is formed as follows:
Padding
is needed to turn the data block to be encrypted into a multiple of the block
size (8 bytes). The XML API expects the last byte of the padding to indicate the
number of added fill bytes. The fill bytes can be chosen randomly.
The initialization vector is required for stream ciphers (here:
CBC
). It is randomly
selected when using the encryption mode
password encryption
. The size corresponds to
the block size of the encryption (8 bytes) used.
IV
encrypted data
plain text
padding
Initialization Vector (IV)
encrypt using
BASE64
encoded data