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

📄 desuse.h

📁 该文本对DES设计做了详细介绍
💻 H
字号:
#if !defined(AFX_DESUSE_H__C3B8315E_5901_468F_8218_548AB37EAE31__INCLUDED_)
#define AFX_DESUSE_H__C3B8315E_5901_468F_8218_548AB37EAE31__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// DESUse dialog

class DESUse : public CDialog
{
// Construction
private: 
	int stepCount;
	char flag;
public:
	DESUse(CWnd* pParent = NULL);   // standard constructor
    void TestDES();
	void TestDESStep( bool up);
	CString StringToBinary(CString input);
	CString CharToBinary(char input);
	CString BinaryToString(CString binary);
// Dialog Data
	//{{AFX_DATA(DESUse)
	enum { IDD = IDD_DES };
	CButton	m_downCount;
	CString	m_plainText;
	CString	m_tempKey;
	CString	m_tempResult;
	CString	m_key;
	CString	m_encryResult;
	CString	m_charInput;
	CString	m_charKey;
	CString	m_charOutput;
	CString	m_time;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(DESUse)
	virtual void OnOK();
	afx_msg void OnBTNstepExcuse();
	afx_msg void OnDisEncry();
	afx_msg void OnDown();
	afx_msg void Onchange();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
		
};

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

#endif // !defined(AFX_DESUSE_H__C3B8315E_5901_468F_8218_548AB37EAE31__INCLUDED_)

⌨️ 快捷键说明

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