Can AES128-CBC encryption produce output with odd length? -
i trying implement soap client that's supposed receive message (xml) mtom/xop attachment. message body , attachment encrypted using separate keys. encryption algorithm used aes128-cbc. body base64 encoded , decrypts fine, attachment binary , has odd lengths (530 bytes, 527 bytes, etc).
my question is, possible server messing in encryption? or possible produce aes128 output that's not multiple of 16?
aes in cbc mode produce output multiple of 16 bytes.
if aes used in ctr (counter) mode) produces output same length input.
Comments
Post a Comment