![]() |
NullCrypt Class ReferenceICrypt implementation with no encryption.
More...
|
Public Member Functions | |
NullCrypt () | |
std::string | encrypt (unsigned char *, const std::string &) |
bool | decrypt (unsigned char *, const std::string &, std::string &) |
Definition at line 42 of file NullCrypt.h.
NullCrypt::NullCrypt | ( | ) |
std::string NullCrypt::encrypt | ( | unsigned char * | , | |
const std::string & | ||||
) | [virtual] |
Implements ICrypt.
Definition at line 47 of file NullCrypt.cpp.
References Base64::encode().
00048 { 00049 Base64 b; 00050 std::string tmp; 00051 b.encode(input, tmp, false); 00052 return tmp; 00053 }
bool NullCrypt::decrypt | ( | unsigned char * | , | |
const std::string & | , | |||
std::string & | ||||
) | [virtual] |