5 #if !defined __FULLENCRYPTION_H
6 #define __FULLENCRYPTION_H
10 typedef unsigned char byte;
11 typedef unsigned char BYTE;
44 static void encryptToString(
const char *z_data,
int z_key,
CString* z_pOut );
58 static STATUS decryptFromString(
const char *z_data,
int z_key,
CString* z_pOut );
72 static unsigned long adler32(
unsigned long adler,
const byte* buf,
int len);
89 static BYTE* decrypt(
const byte* z_data,
int z_key,
int z_nlength );
102 static int decrypt3Bytes( BYTE b1, BYTE b2, BYTE b3 );
111 static int decrypt3Bytes(
int z_n );
126 static BYTE* encrypt(
const char *z_data,
int z_key );
141 static int encrypt3Bytes( byte z_b1, byte z_b2, byte z_b3 );
152 static int encrypt3Bytes(
int z_n );
157 #endif // __FULLENCRYPTION_H
Definition: FullEncryption.h:29