📄 codedlg.h
字号:
// codeDlg.h : header file
//
#if !defined(AFX_CODEDLG_H__EAD6CAB7_7FBD_44D0_99EB_2216F7810C78__INCLUDED_)
#define AFX_CODEDLG_H__EAD6CAB7_7FBD_44D0_99EB_2216F7810C78__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#define address_number 60000//安全代码重复性测试时的测试长度
#define address_number4 address_number*4
/////////////////////////////////////////////////////////////////////////////
// CCodeDlg dialog
class CCodeDlg : public CDialog
{
// Construction
public:
CCodeDlg(CWnd* pParent = NULL); // standard constructor
void stringToHex();
void Fill_ind();
void Clycle_1();
void Clycle_2();
void Init_set();
void Muc_program();
unsigned char Change(char ch);
CString Dec_hex_sim(unsigned char in2);
unsigned long int A;
unsigned long int B;
unsigned long int C;
unsigned long int D;
unsigned long int aa;
unsigned long int bb;
unsigned long int cc;
unsigned long int dd;
unsigned long int ind[16];
unsigned long int key_16[64];
unsigned long int f;
unsigned long int g;
unsigned long int h;
unsigned long int i;
unsigned long int count;
CString source;
////////////////////////////////////////////////////////
unsigned long int end[address_number*4];
unsigned long int end_cou;
// Dialog Data
//{{AFX_DATA(CCodeDlg)
enum { IDD = IDD_CODE_DIALOG };
CComboBox m_fwc;
CButton m_jy;
CString m_l;
CString m_source;
CString m_fw;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CCodeDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CCodeDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnButtonChange();
afx_msg void OnButtonJy();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CODEDLG_H__EAD6CAB7_7FBD_44D0_99EB_2216F7810C78__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -