12#include "wvencoderstream.h"
49 const char *wstype()
const {
return "WvXORStream"; }
WvEncoderStream chains a series of encoders on the input and output ports of the underlying stream to...
bool flush(WvBuf &inbuf, WvBuf &outbuf, bool finish=false)
Flushes the encoder and optionally finishes it.
Unified support for streams, that is, sequences of bytes that may or may not be ready for read/write ...
An encoder implementing simple XOR encryption.
bool _encode(WvBuf &in, WvBuf &out, bool flush)
Template method implementation of encode().
A crypto stream implementing XOR encryption.