[OTR-dev] AES128 CTR?

Nikita Borisov nikitab at cs.berkeley.edu
Tue Jan 18 19:46:40 EST 2005


On Jan 18, 2005, at 4:39 PM, alex323 wrote:

> That class does have a CTS mode:
>
> RijndaelManaged rm = new RijndaelManaged();
> rm.Mode = CipherMode.CTS;
>
> Do you think it's the same?

No, CTS mode is ciphertext stealing mode, which is quite different from 
CTR.  Looking at the description, you're going to have to implement 
your own CTR mode.  Like Ian said, ctrmode.c in the toolkit source has 
a sample implementation.

  - Nikita




More information about the OTR-dev mailing list