Public Member Functions | Static Public Member Functions

crypto::DESKey Class Reference
[Cryptography Libraries]

fast symmetric encryption More...

#include <crypto.h>

Inheritance diagram for crypto::DESKey:
Inheritance graph

List of all members.

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 (const char *plaintext, int minSize)=0
 encrypt the given plaintext string using the DES key (pads if necessary to fill out to minSize)
virtual std::string decrypt (const char *encrypted)=0
 decrypt the given string using the DES key (returns original plaintext)

Static Public Member Functions

static smart_ptr< DESKeycreate (void)
 create new DES key
static smart_ptr< DESKeycreate (const char *serialized)
 factory to create DES key from serialized (string) version

Detailed Description

fast symmetric encryption

Definition at line 200 of file crypto.h.

Constructor & Destructor Documentation

crypto::DESKey::~DESKey ( void   )  throw () [virtual]

Definition at line 54 of file crypto.cpp.

The documentation for this class was generated from the following files: