Ok,

I got it.

----------------------------------
The CFB mode also requires an integer parameter, denoted s, such that
1 ≤ s ≤ b. In the
specification of the CFB mode below, each plaintext segment (P#
j) and ciphertext segment (C#
j)
consists of s bits. The value of s is sometimes incorporated into the
name of the mode, e.g., the
1-bit CFB mode, the 8-bit CFB mode, the 64-bit CFB mode, or the 128-
bit CFB mode.
----------------------------------

Crypto++ has a protected method in modes.h:

        void SetFeedbackSize(unsigned int feedbackSize)
        {
                if (feedbackSize > BlockSize())
                        throw InvalidArgument("CFB_Mode: invalid feedback 
size");
                m_feedbackSize = feedbackSize ? feedbackSize : BlockSize();
        }

If I set m_feedbackSize to 1 (8-bit), Crypto++ produces the same
results as PHP/Python in CFB-Mode.

Is there a proper way to call this protected method from outside?
--~--~---------~--~----~------------~-------~--~----~
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