Pol  Revision:cb584c9
Pol::Crypt::CCryptBaseCrypt Class Referenceabstract

#include <cryptbase.h>

+ Inheritance diagram for Pol::Crypt::CCryptBaseCrypt:

Public Member Functions

 CCryptBaseCrypt ()
virtual ~CCryptBaseCrypt ()
virtual void SetMasterKeys (unsigned int masterKey1, unsigned int masterKey2)=0
- Public Member Functions inherited from Pol::Crypt::CCryptBase
 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

Public Attributes

LoginCrypt lcrypt

Protected Member Functions

virtual void Decrypt (void *pvIn, void *pvOut, int len)=0

Protected Attributes

unsigned char encrypted_data [MAXBUFFER]
unsigned int m_masterKey [2]
int m_type

Additional Inherited Members

- Public Types inherited from Pol::Crypt::CCryptBase
enum  e_crypttype { typeLogin, typeGame, typeAuto }

Detailed Description

Definition at line 111 of file cryptbase.h.

Constructor & Destructor Documentation

Pol::Crypt::CCryptBaseCrypt::CCryptBaseCrypt ( )

Definition at line 78 of file cryptbase.cpp.

References encrypted_data, and m_masterKey.

Pol::Crypt::CCryptBaseCrypt::~CCryptBaseCrypt ( )

Definition at line 83 of file cryptbase.cpp.

Member Function Documentation

virtual void Pol::Crypt::CCryptBaseCrypt::Decrypt ( void *  pvIn,
void *  pvOut,
int  len 
protectedpure virtual
virtual void Pol::Crypt::CCryptBaseCrypt::SetMasterKeys ( unsigned int  masterKey1,
unsigned int  masterKey2 
pure virtual

Member Data Documentation

unsigned char Pol::Crypt::CCryptBaseCrypt::encrypted_data[MAXBUFFER]

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