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

📄 des_cryptiondlg.h

📁 自己编的DES加密算法
💻 H
字号:
// DES_CryptionDlg.h : header file
//

#if !defined(AFX_DES_CRYPTIONDLG_H__77C45152_A59B_44AE_BADF_2035449FF8AA__INCLUDED_)
#define AFX_DES_CRYPTIONDLG_H__77C45152_A59B_44AE_BADF_2035449FF8AA__INCLUDED_

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



/////////////////////////////////////////////////////////////////////////////
// CDES_CryptionDlg dialog

class CDES_CryptionDlg : public CDialog
{
// Construction
public:
	CDES_CryptionDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CDES_CryptionDlg)
	enum { IDD = IDD_DES_CRYPTION_DIALOG };
	CEdit	m_crypt;
	CString	m_path;
	CString	m_message;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDES_CryptionDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CDES_CryptionDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnButtonBrower();
	afx_msg void OnButtonEncryption();
	afx_msg void OnButtonExit();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

public:	
	void dec2bin(int PC[65], unsigned __int64 sum);
	void F(int L0[32],int R0[32],int K[49]);
	void Map48_32(int E0[49],int P0[33],int K[49]);
	void LeftMove(int a[28],int y);
	void Dec_0X(int x,int a[4]);

	int PC[65];

	
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_DES_CRYPTIONDLG_H__77C45152_A59B_44AE_BADF_2035449FF8AA__INCLUDED_)

⌨️ 快捷键说明

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