Hi:

I’m in the process of needing to encrypt a stream that I’m serializing to.

Given that I’m using boost::wserialization to serialize classes, what is the best way of going about this, writing two separate streams to do the job, or writing stream filters?

Fyi I’m planning on using Crypto++ has anybody already got streams/stream buffers that use this library?

If I can use both approaches, what are the differences? I need to make the code as easy to read as possible.

Any help appreciated.

Cheers

Sean.