Hi all,
I'm using the following simple code to use AES in CFB mode:
CFB_Mode<AES>::Encryption aes(b->getFileId().getBytes(), 16, b>getFileId().getBytes());
StringSource(b->getData(),len, true, new StreamTransformationFilter(aes, new ArraySink(dat.get(),len)));
How can I be sure that the encrypted text will be the same size as the original texte, ie that my dat buffer will have to be the same length than my original buffer ? Is there some member function, or is it fixed ?
Regards,
