WvTripleDESEncoder Class Reference

#include <wvtripledes.h>

List of all members.


Detailed Description

An encoder implementing the TripleDES encryption method.

Supports reset().

Definition at line 22 of file wvtripledes.h.


Public Types

enum  Mode {
  ECBEncrypt, ECBDecrypt, CFBEncrypt, CFBDecrypt,
  CBCEncrypt, CBCDecrypt
}

Public Member Functions

 WvTripleDESEncoder (Mode mode, const void *key1, const void *key2, const void *key3)
virtual void setkey (const void *key)
virtual void setkey (const void *_key1, const void *_key2, const void *_key3)
virtual void setiv (const void *iv)

Protected Member Functions

virtual bool _encode (WvBuf &in, WvBuf &out, bool flush)
virtual bool _reset ()

Member Enumeration Documentation

enum WvTripleDESEncoder::Mode

Enumerator:
ECBEncrypt  Encrypt using ECB mode (avoid)
ECBDecrypt  Decrypt using ECB mode (avoid)
CFBEncrypt  Encrypt using CFB mode (simulates a stream)
CFBDecrypt  Decrypt using CFB mode (simulates a stream)
CBCEncrypt  Encrypt using CBC mode
CBCDecrypt  Decrypt using CBC mode

Definition at line 25 of file wvtripledes.h.


The documentation for this class was generated from the following files:
Generated on Thu Jan 24 16:51:06 2008 for WvStreams by  doxygen 1.5.4