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

📄 learn_mfcdlg.h

📁 aes cbc mode source code
💻 H
字号:
// Learn_MFCDlg.h : header file
//

#if !defined(AFX_LEARN_MFCDLG_H__B0501C73_FE9B_4634_9CB9_472BAE1F10B1__INCLUDED_)
#define AFX_LEARN_MFCDLG_H__B0501C73_FE9B_4634_9CB9_472BAE1F10B1__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CLearn_MFCDlg dialog

class CLearn_MFCDlg : public CDialog
{
// Construction
public:
	CLearn_MFCDlg(CWnd* pParent = NULL);	// standard constructor
	void Char2Hex(const unsigned char ch, char *szHex);
	void Hex2Char(const char *szHex, unsigned char &rch);
	void CharStr2HexStr(const char *pucCharStr, char *pszHexStr, int iSize);
	void HexStr2CharStr(const char *pszHexStr, char *pucCharStr, int iSize);
	



// Dialog Data
	//{{AFX_DATA(CLearn_MFCDlg)
	enum { IDD = IDD_LEARN_MFC_DIALOG };
	CButton	m_clr_key;
	CButton	m_encrypt;
	CButton	m_decrypt;
	CButton	m_clr_txt;
	CString	m_input_txt;
	CString	m_encrypted_txt;
	CString	m_decrypted_txt;
	int		m_input_type;
	CString	m_key;
	CString	m_init_vector;
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CLearn_MFCDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnChangeEdit4();
	afx_msg void OnChangeEdit1();
	afx_msg void OnChangeEdit2();
	afx_msg void OnButtonClearText();
	afx_msg void OnRadioClrTxt();
	afx_msg void OnRadioCipTxt();
	afx_msg void OnChangeEditEnTxt();
	afx_msg void OnChangeEditInTxt();
	afx_msg void OnChangeEditDeTxt();
	afx_msg void OnChangeEditKey();
	afx_msg void OnQuit();
	afx_msg void OnButtonClrKey();
	afx_msg void OnButtonEncrypt();
	afx_msg void OnButtonDecrypt();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_LEARN_MFCDLG_H__B0501C73_FE9B_4634_9CB9_472BAE1F10B1__INCLUDED_)

⌨️ 快捷键说明

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