Hi Jeff, Thank you for your replying.
I know how CTS works. But I found that CBC_CTS_Mode in Crypto++5.5.1 couln't process data which had arbitrary length. That's not the correct behavior, right? I thought CTS mode should work with data which has arbirtrary length. Yongce On 8月7日, 上午12时02分, "Jeffrey Walton" <[EMAIL PROTECTED]> wrote: > Hi Yongce, > > CTS act like CBC except for the last two blocks. So size(plain) = > sizeof(cipher). Seehttp://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. -~----------~----~----~----~------~----~------~--~---
