CBC_Mode<Blowfish>::Encryption encryption(key, strlen(key), iv);
StreamTransformationFilter cbcEncryptor(encryption, new StringSink ...

Add reinterpret_cast where necessary. The rest stays the same.

That's all I needed to know. Thank you!


P.S. The documentation in modes.h is a trifle dense and cryptic (no pun intended). Maybe for the benefit of the masses you could put in a simple example like the one above to help us decode the new mode usage.

   Aparajita
   Victory-Heart Productions
   [EMAIL PROTECTED]
   www.aparajitaworld.com



Reply via email to