www.pudn.com > endecipher.rar > Des.h
// Des.h: interface for the CDes class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_DES_H__E8FD2CA7_934A_4116_95E4_C7BB3CA6DB3B__INCLUDED_)
#define AFX_DES_H__E8FD2CA7_934A_4116_95E4_C7BB3CA6DB3B__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CDes
{
public:
CDes();
virtual ~CDes();
void getkey(CString);
char * Enci(char plain[]);
char * Deci(char cipher[]);
private:
void ls1();
void rs1();
void lst(int time);
void rst(int time);
void IP1();
void IP2();
char *key;
};
#endif // !defined(AFX_DES_H__E8FD2CA7_934A_4116_95E4_C7BB3CA6DB3B__INCLUDED_)