It seems when using StreamTransformationFilter it should buffer the
incomplete block automatically when needed. But:

+ why cfbEncryptor.MessageEnd(); is still called in the FAQ sample
code.

+ If StreamTransformationFilter takes care of the padding, why the
data is not a multiple of block size is thrown in the decryption code.
There is a slight change in my test. I use MAX_KEYLENGTH. So here's
the scenario:

Key size 256        Block size 128        IV size 128

Thanks


--~--~---------~--~----~------------~-------~--~----~
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.
-~----------~----~----~----~------~----~------~--~---

Reply via email to