C++ common classes
General purpose classes for use across projects (Apache license)
CSporeEncrypt Class Reference

#include <CSporeEncrypt.h>

List of all members.

Public Member Functions

 CSporeEncrypt ()
virtual ~CSporeEncrypt ()

Static Public Member Functions

static void BF_encrypt (const unsigned char *keydata, int keydatalen, unsigned char *in, unsigned char *out, unsigned int inlen)
 Encrypt buffer.
static void BF_decrypt (const unsigned char *keydata, int keydatalen, unsigned char *in, unsigned char *out, unsigned int inlen)
 Decrypt buffer.

Static Public Attributes

static int iKeySize = 0
static unsigned char * ucKey = NULL

Static Protected Member Functions

static void GetKey ()

Detailed Description

Definition at line 16 of file CSporeEncrypt.h.


Constructor & Destructor Documentation

Definition at line 14 of file CSporeEncrypt.cpp.

Definition at line 19 of file CSporeEncrypt.cpp.


Member Function Documentation

void CSporeEncrypt::BF_decrypt ( const unsigned char *  keydata,
int  keydatalen,
unsigned char *  in,
unsigned char *  out,
unsigned int  inlen 
) [static]

Decrypt buffer.

Definition at line 69 of file CSporeEncrypt.cpp.

void CSporeEncrypt::BF_encrypt ( const unsigned char *  keydata,
int  keydatalen,
unsigned char *  in,
unsigned char *  out,
unsigned int  inlen 
) [static]

Encrypt buffer.

Definition at line 57 of file CSporeEncrypt.cpp.

void CSporeEncrypt::GetKey ( ) [static, protected]

Definition at line 25 of file CSporeEncrypt.cpp.


Member Data Documentation

int CSporeEncrypt::iKeySize = 0 [static]

Definition at line 31 of file CSporeEncrypt.h.

unsigned char * CSporeEncrypt::ucKey = NULL [static]

Definition at line 32 of file CSporeEncrypt.h.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines