📄 aesdlg.h
字号:
// AESDlg.h : header file
//
#if !defined(AFX_AESDLG_H__7D623A93_09B1_4D33_B4D3_57F9A0554C92__INCLUDED_)
#define AFX_AESDLG_H__7D623A93_09B1_4D33_B4D3_57F9A0554C92__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CAESDlg dialog
class CAESDlg : public CDialog
{
// Construction
public:
CAESDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CAESDlg)
enum { IDD = IDD_AES_DIALOG };
CString m_menwen;
CString m_key;
CString m_miwen;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CAESDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CAESDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnButton2();
afx_msg void OnButton3();
afx_msg void OnButton4();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
void makekey();
void InvMixColumn();
void InvShiftRow();
void InvByteSub();
void SubByte();
void RotByte();
void MixColumn();
void nextkey(int num_key );
void ShiftRow();
void ByteSub();
int B_TEMP[32];
int B1[32];
int B[32];
int key[11][32];
int W_TEMP[8];
int W[8][8];
int C_TEMP[32];
int K_TEMP[32];
int C1[32];
int K[32];
int C[32];
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_AESDLG_H__7D623A93_09B1_4D33_B4D3_57F9A0554C92__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -