Boost logo

Boost Users :

Subject: Re: [Boost-users] using crypto++ with boost::wserialization
From: Robert Ramey (ramey_at_[hidden])
Date: 2011-07-04 11:49:22


Sean Farrow wrote:
> 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,

The best thing is to realize that this is not a question regarding
serialization - but rather one of io streams. Remeber that serialization
can use any stream. So if can incorporate encryption/decryption
in the stream you want to use, you're done.

There is the boost iostream library for doing this sort of thing.

Robert Ramey


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net