Dnia Wed, Feb 17, 2010 at 09:32:20PM +0100, Roland Bock napisaƂ(a):

> I am aware that I am using the same IV for all arguments, but still I 
  CFB mode depends of unique IV.
> The encrypted results are almost identical.
  CFB mode "turns on" for at least two data blocks.
  Your data seems to be of block size or less.
  So your CFB de facto becomes ECB.

> 
> would have expected similar input would NOT result in similar output. I 
  For same IV and same key certainly it does. We use advanced modes
  and random IVs to prevent this.

> their encrypted version? Somehow it seems that encryption is done Byte 
> by Byte. Can I change that?
  Use random IV.

> Thanks and regards,
> 
> Roland

Pozdrawiam, Ohir.

--

Wojciech S. Czarnecki
 << ^oo^ >> OHIR-RIPE
     

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