IBR-DTNSuite
0.8
|
#include <XORStream.h>
Public Member Functions | |
XORStream (std::ostream &stream, const CipherMode mode, std::string key) | |
virtual | ~XORStream () |
Protected Member Functions | |
virtual void | encrypt (char *buf, const size_t size) |
virtual void | decrypt (char *buf, const size_t size) |
Definition at line 16 of file XORStream.h.
ibrcommon::XORStream::XORStream | ( | std::ostream & | stream, |
const CipherMode | mode, | ||
std::string | key | ||
) |
Definition at line 12 of file XORStream.cpp.
ibrcommon::XORStream::~XORStream | ( | ) | [virtual] |
Definition at line 17 of file XORStream.cpp.
void ibrcommon::XORStream::decrypt | ( | char * | buf, |
const size_t | size | ||
) | [protected, virtual] |
Implements ibrcommon::CipherStream.
Definition at line 34 of file XORStream.cpp.
void ibrcommon::XORStream::encrypt | ( | char * | buf, |
const size_t | size | ||
) | [protected, virtual] |
Implements ibrcommon::CipherStream.
Definition at line 21 of file XORStream.cpp.