⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cryptortool1.h

📁 这是一个加解密程序
💻 H
字号:

#ifndef __CRYPTORTOOL1_H__
#define __CRYPTORTOOL1_H__

#include "ZCryptor.h"

class CCryptorTool1 {
public:
    CCryptorTool1(CZCryptor *pCryptor);
    ~CCryptorTool1();

	void GenerateKey(const char *s);

	//加密
	void Encrypt(void *Dst,const void *Src,int Len);
	
	//解密
	void Decrypt(void *Dst,const void *Src,int Len);
	
	//Hash
	void Hash(const void *Data,int Len,void *Result);


protected:
private:

	CZCryptor *m_pCryptor;
	unsigned char m_CurrentKey[16];
	
	static unsigned char m_FirstKey[16];
};



#endif /* __CRYPTORTOOL1_H__ */


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -