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

📄 vc_sdes_child2.h

📁 通过编程实现S-DES算法的加密与解密过程
💻 H
字号:
#if !defined(AFX_VC_SDES_CHILD2_H__4C6FD8DE_C487_40A0_9960_0A5AD4706AFD__INCLUDED_)
#define AFX_VC_SDES_CHILD2_H__4C6FD8DE_C487_40A0_9960_0A5AD4706AFD__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// VC_SDES_child2.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// VC_SDES_child2 dialog

class VC_SDES_child2 : public CDialog
{
// Construction
	CString m_input1,m_IP_1,m_key1,m_P10,m_LS1,m_P8_1,m_K1,m_LS2,m_P8_2,m_K2,m_FK1,m_SW,m_FK2,m_IP;
public:
	VC_SDES_child2(CWnd* pParent = NULL);   // standard constructor
	void F(int R[],int SK[],int CR[]);
	void FK(int L[],int R[],int k[]);
	void IP_1(int text[]);
	void IP(int text[]);
	void Operate(int text[],int k1[],int k2[]);
	void GetKey(int key[],int k1[],int k2[]);
	CSDESDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(VC_SDES_child2)
	enum { IDD = IDD_DIALOG3 };
	CString	m_input;
	CString	m_intext;
	CButton	m_music2;
	int		m_oper;
	CString	m_key;
	CString	m_output;
	CString	m_outext;
	//}}AFX_DATA


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

// Implementation
protected:
	HICON m_hIcon2;
	// Generated message map functions
	//{{AFX_MSG(VC_SDES_child2)
	virtual BOOL OnInitDialog();
	afx_msg void OnInputBrowse();
	afx_msg void OnStartButton();
	afx_msg void OnFlashButton();
	afx_msg void OnKeyBrowse();
	afx_msg void Onback();
	afx_msg void Onstore();
	afx_msg void Onmusic2();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_VC_SDES_CHILD2_H__4C6FD8DE_C487_40A0_9960_0A5AD4706AFD__INCLUDED_)

⌨️ 快捷键说明

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