On Mon, Aug 04, 2003 at 01:45:46PM -0700, cppdev wrote:
> I'm trying to ReInitialize and use the same instance
> (same key/iv) of SymmetricCipher and
> StreamTransformationFilter again. Do i have to call
> SetKeyWithIV after Initialize call?
> Am i using the library wrong?

You can call Resynchronize, which will only reset the IV (it's faster than 
SetKeyWithIV). But it is a bad idea to reuse a key/IV pair for multiple 
messages. You must use different keys or IVs for different messages if you 
want to keep them secret.

Reply via email to