📄 rsakeydlg.h
字号:
#if !defined(AFX_RSAKEY_H__A3169980_E06E_11D6_B0C1_00E04C391A51__INCLUDED_)
#define AFX_RSAKEY_H__A3169980_E06E_11D6_B0C1_00E04C391A51__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// RsaKey.h : header file
//
/////////////////////////////////////////////////////////////////////////////
#include "Rsa.h"
/////////////////////////////////////////////////////////////////////////////
// CRsaKeyDlg dialog
class CRsaKeyDlg : public CDialog
{
// Construction
public:
CRsaKeyDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CRsaKeyDlg)
enum { IDD = IDD_RSAKEY_DIALOG };
CString m_q;
CString m_p;
CString m_n;
CString m_e;
CString m_d;
int m_elen;
int m_plen;
int m_qlen;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CRsaKeyDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HBRUSH m_BkBrush;
CRsa rsa;
CBigInt BI;
BigInt p,q,n,e,d;
CString Str;
char buf[BI_MAXLEN+1];
// Generated message map functions
//{{AFX_MSG(CRsaKeyDlg)
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
virtual void OnOK();
virtual void OnCancel();
afx_msg void OnGetP();
afx_msg void OnGetQ();
afx_msg void OnInputP();
afx_msg void OnInputQ();
afx_msg void OnOutputD();
afx_msg void OnOutputE();
afx_msg void OnOutputN();
afx_msg void OnOutputP();
afx_msg void OnOutputQ();
afx_msg void OnGetKey();
afx_msg void OnChangePLen();
afx_msg void OnChangeQLen();
afx_msg void OnChangeP();
afx_msg void OnChangeQ();
afx_msg void OnChangeN();
afx_msg void OnChangeE();
afx_msg void OnChangeD();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_RSAKEY_H__A3169980_E06E_11D6_B0C1_00E04C391A51__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -