📄 des3dlg.h
字号:
// DES3Dlg.h : header file
//
#if !defined(AFX_DES3DLG_H__5264F02D_4805_4E12_AFC5_686FBA74CA2F__INCLUDED_)
#define AFX_DES3DLG_H__5264F02D_4805_4E12_AFC5_686FBA74CA2F__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CDES3Dlg dialog
class CDES3Dlg : public CDialog
{
// Construction
public:
CDES3Dlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CDES3Dlg)
enum { IDD = IDD_DES3_DIALOG };
CEdit m_ruo;
CEdit m_code;
CEdit m_key;
CString m_t;
CString m_ming;
CString m_mi;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDES3Dlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CDES3Dlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void Onencrypt();
afx_msg void Ondecrypt();
afx_msg void Onclrscr();
afx_msg void chartobit(char a[],int b[],int n);
afx_msg void bittochar(char a[],int b[],int n);
afx_msg void lrotate(int a[], int n);
afx_msg void pc1tran(int c[],int d[],int k[]);
afx_msg void pc2tran(int subkey[],int k[]);
afx_msg void createkey(int k[]);
afx_msg void iptran(int l[],int r[],int m[]);
afx_msg void etran(int m[],int r[]);
afx_msg void xor(int m[],int sub[],int n);
afx_msg void change(int temp[],int j);
afx_msg void stran(int m[],int temp[]);
afx_msg void ptran(int r[],int temp[]);
afx_msg void ip1tran(int m[],int temp[]);
afx_msg void encrypt(int in[],int out[],int n);
afx_msg void decrypt(int in[],int out[],int n);
afx_msg void Ontest();
afx_msg void Onhelp();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DES3DLG_H__5264F02D_4805_4E12_AFC5_686FBA74CA2F__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -