📄 chpassdlg.cpp
字号:
// chpassDlg.cpp : implementation file
//
#include "stdafx.h"
#include "RSA.h"
#include "chpassDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// chpassDlg dialog
chpassDlg::chpassDlg(CWnd* pParent /*=NULL*/)
: CDialog(chpassDlg::IDD, pParent)
{
//{{AFX_DATA_INIT(chpassDlg)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
}
void chpassDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(chpassDlg)
// NOTE: the ClassWizard will add DDX and DDV calls here
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(chpassDlg, CDialog)
//{{AFX_MSG_MAP(chpassDlg)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// chpassDlg message handlers
void chpassDlg::OnOK()
{
// TODO: Add extra validation here
UpdateData(true);
length=m_in.GetLength();
// m_out="";
m_out=MRSA(m_in);
// m_in=m_out;
UpdateData(false);
//RSA(m_in);
AfxMessageBox(m_out);
}
void chpassDlg::OnCancel()
{
// TODO: Add extra cleanup here
// CDialog::OnCancel();
}
CString chpassDlg::MRSA(CString m_in)
{
return m_out;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -