www.pudn.com > 20080413_ClockSystem.rar > Crypt.h


// Crypt.h: interface for the CCrypt class. 
// 
////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_CRYPT_H__FEB16981_A853_11D6_8649_0088CC174723__INCLUDED_) 
#define AFX_CRYPT_H__FEB16981_A853_11D6_8649_0088CC174723__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
class CCrypt   
{ 
public: 
	CCrypt(); 
	virtual ~CCrypt(); 
public: 
	static CString Encrypt(CString S, WORD Key); // ¼ÓÃܺ¯Êý 
	static CString Decrypt(CString S, WORD Key); // ½âÃܺ¯Êý 
}; 
 
#endif // !defined(AFX_CRYPT_H__FEB16981_A853_11D6_8649_0088CC174723__INCLUDED_)