fast symmetric encryption More...
#include <wave-crypto.h>
Public Member Functions | |
virtual | ~DESKey (void) throw () |
virtual std::string | serialize (void)=0 |
return a serialized (string) version of the DES key | |
virtual std::string | encrypt (IN const char *plaintext, IN int minSize)=0 |
encrypt the given plaintext string using the DES key (pads if necessary to fill out to minSize) | |
virtual std::string | decrypt (IN const char *encrypted)=0 |
decrypt the given string using the DES key (returns original plaintext) | |
Static Public Member Functions | |
static smart_ptr< DESKey > | create (void) |
create new DES key | |
static smart_ptr< DESKey > | create (IN const char *serialized) |
factory to create DES key from serialized (string) version |
fast symmetric encryption
Definition at line 200 of file wave-crypto.h.
crypto::DESKey::~DESKey | ( | void | ) | throw () [virtual] |
Definition at line 54 of file wave-crypto.cpp.