Pol  Revision:cb584c9
Pol::Crypt::LoginCrypt Class Reference

#include <logincrypt.h>

Public Member Functions

 LoginCrypt ()
 
 ~LoginCrypt ()
 
void Decrypt (unsigned char *in, unsigned char *out, int len)
 
void Decrypt_1_25_36 (unsigned char *in, unsigned char *out, int len)
 
void Decrypt_Old (unsigned char *in, unsigned char *out, int len)
 
void Init (unsigned char *lseed, unsigned int k1, unsigned int k2)
 

Public Attributes

unsigned int lkey [2]
 

Protected Attributes

unsigned int m_k1
 
unsigned int m_k2
 

Detailed Description

Definition at line 13 of file logincrypt.h.

Constructor & Destructor Documentation

Pol::Crypt::LoginCrypt::LoginCrypt ( )

Definition at line 15 of file logincrypt.cpp.

References lkey.

Pol::Crypt::LoginCrypt::~LoginCrypt ( )

Definition at line 19 of file logincrypt.cpp.

Member Function Documentation

void Pol::Crypt::LoginCrypt::Decrypt ( unsigned char *  in,
unsigned char *  out,
int  len 
)
void Pol::Crypt::LoginCrypt::Decrypt_1_25_36 ( unsigned char *  in,
unsigned char *  out,
int  len 
)

Definition at line 66 of file logincrypt.cpp.

References lkey, m_k1, and m_k2.

Referenced by Pol::Crypt::CCrypt12536::Decrypt().

void Pol::Crypt::LoginCrypt::Decrypt_Old ( unsigned char *  in,
unsigned char *  out,
int  len 
)

Definition at line 51 of file logincrypt.cpp.

References lkey, m_k1, and m_k2.

Referenced by Pol::Crypt::CCryptBlowfishOld::Decrypt().

void Pol::Crypt::LoginCrypt::Init ( unsigned char *  lseed,
unsigned int  k1,
unsigned int  k2 
)

Member Data Documentation

unsigned int Pol::Crypt::LoginCrypt::m_k1
protected

Definition at line 31 of file logincrypt.h.

Referenced by Decrypt(), Decrypt_1_25_36(), Decrypt_Old(), and Init().

unsigned int Pol::Crypt::LoginCrypt::m_k2
protected

Definition at line 31 of file logincrypt.h.

Referenced by Decrypt(), Decrypt_1_25_36(), Decrypt_Old(), and Init().


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