Sounds like you're using Crypto++ 4.2 or earlier. The ability to reinitialize objects 
were introduced in version 5.0 so you're have to upgrade to use it. Once you do you 
can 
use the SetKeyWithIV() function to reset the counter mode object (called CTR_Mode) in 
version 5.0.

On Tue, Dec 10, 2002 at 03:52:51AM +0100, Dejan Maksimovic wrote:
> 
>     A block cipher and CounterMode class.
>     What do I do about the CounterMode class?
> 
> Wei Dai wrote:
> 
> > Which class do you want to reinitialize? For symmetric ciphers, you can
> > call SetKey().
> >
> > Do not call the constructor directly unless you're sure you know what
> > you're doing. You can cause memory leaks that way.
> 
> --
> Kind regards, Dejan M. www.alfasp.com
> E-mail: [EMAIL PROTECTED] ICQ#: 56570367
> Alfa File Monitor - File monitoring library for Win32 developers.
> Alfa File Protector - File protection and hiding library for Win32
> developers.
> 

Reply via email to