encryption.h

来自「用DES加密算法实现文件的加密和解密」· C头文件 代码 · 共 38 行

H
38
字号
// Encryption.h: interface for the CEncryption class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_ENCRYPTION_H__B257F30A_8497_4C44_BE61_6E62EAE0998C__INCLUDED_)
#define AFX_ENCRYPTION_H__B257F30A_8497_4C44_BE61_6E62EAE0998C__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

 
class CEncryption  
{
public:
	bool isEncryption;
	int xor(int a,int b);
	int k[16][49];
	void init();
	CEncryption(int minwen[],int key[],bool  isEncrytion);
	bool desEncryption();
	int minwen[65];
	int miwen[65];

	int R0[33];
	int L0[33];


	int key[65];
	CEncryption();
	virtual ~CEncryption();
	
	

};

#endif // !defined(AFX_ENCRYPTION_H__B257F30A_8497_4C44_BE61_6E62EAE0998C__INCLUDED_)

⌨️ 快捷键说明

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