Hi Yongce, CTS act like CBC except for the last two blocks. So size(plain) = sizeof(cipher). See http://en.wikipedia.org/wiki/Ciphertext_stealing.
Jeff On 8/6/08, Yongce <[EMAIL PROTECTED]> wrote: > > Hi All, > > I found that using CBC_CTS_Mode directly can only process > data with length of multiple block size. > And result of using CBC_CTS_Mode directly was different from that of > using > StreamTransformationFilter wapping CBC_CTS_Mode. > > I thought that CBC_CTS_Mode could process data with arbitrary length > and result of the two using of CBC_CTS_Mode should be the same. > What's wrong? > > Regards, > Yongce --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the "Crypto++ Users" Google Group. To unsubscribe, send an email to [EMAIL PROTECTED] More information about Crypto++ and this group is available at http://www.cryptopp.com. -~----------~----~----~----~------~----~------~--~---
