QuercusVL Programming Manual
with an initialization vector included in the message.
An encrypted message is formatted as follows:
OriginalLen
Where:
Original message: original message.
●
OriginalLen: size in bytes of the original message. This is a needed field as AES
●
encryption always uses 16 bytes blocks in order to round up the size of the original
message to the next integer multiple of 16.
IV: initialization vector used for message codification.
●
Encrypted message + padding: original message encrypted + necessary bytes to make
●
it multiple of 16.
The type of AES codification will depend on the password length. For passwords up to 16
characters AES-128 will be used, AES-192 for passwords between 17 and 24 characters and
AES 256 for passwords between 25 and 32 characters. The AES key will be obtained with the
password and the rest of bytes set to zero until the total length of the key is filled.
AES-128
AES-192
AES-256
Quercus Technologies
226
4
16
IV
1-16
Password
17-24
Password
25-32
Password
Original message
Encrypted message
Padding(000...)
key
key
key
AES
16*n
Padding
Padding(000...)
Padding(000...)
Need help?
Do you have a question about the SmartLoop TS and is the answer not in the manual?