Pol  Revision:cb584c9
Pol::Crypt::CCryptBase Class Referenceabstract

#include <cryptbase.h>

+ Inheritance diagram for Pol::Crypt::CCryptBase:

Public Types

enum  e_crypttype { typeLogin, typeGame, typeAuto }

Public Member Functions

 CCryptBase ()
virtual ~CCryptBase ()
virtual void Encrypt (void *pvIn, void *pvOut, int len)
virtual void Init (void *pvSeed, int type=typeAuto)=0
virtual int Receive (void *buffer, int max_expected, SOCKET socket)=0

Detailed Description

Definition at line 82 of file cryptbase.h.

Member Enumeration Documentation


Definition at line 89 of file cryptbase.h.

Constructor & Destructor Documentation

Pol::Crypt::CCryptBase::CCryptBase ( )

Definition at line 74 of file cryptbase.cpp.

Pol::Crypt::CCryptBase::~CCryptBase ( )

Definition at line 75 of file cryptbase.cpp.

Member Function Documentation

virtual void Pol::Crypt::CCryptBase::Encrypt ( void *  pvIn,
void *  pvOut,
int  len 

Reimplemented in Pol::Crypt::CCryptTwofish.

Definition at line 100 of file cryptbase.h.

Referenced by Pol::Network::Client::xmit().

virtual void Pol::Crypt::CCryptBase::Init ( void *  pvSeed,
int  type = typeAuto 
pure virtual
virtual int Pol::Crypt::CCryptBase::Receive ( void *  buffer,
int  max_expected,
SOCKET  socket 
pure virtual

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