rsadlg.h

来自「非对称密码系统,包含RSA,ECC,大数乘法。」· C头文件 代码 · 共 58 行

H
58
字号
#if !defined(AFX_RSADLG_H__B4E8D605_9D83_4E3C_A951_F80EE33365CB__INCLUDED_)
#define AFX_RSADLG_H__B4E8D605_9D83_4E3C_A951_F80EE33365CB__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// RsaDlg.h : header file
//
#include "BigInt.h"
/////////////////////////////////////////////////////////////////////////////
// CRsaDlg dialog

class CRsaDlg : public CDialog
{
// Construction
public:
	CRsaDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CRsaDlg)
	enum { IDD = IDD_RSA };
	CString	m_IN;
	CString	m_OUT;
	CString	m_E;
	CString	m_D;
	CString	m_N;
	int		m_Len;
	//}}AFX_DATA
	CBigInt P,Q,N,D,E;
	int seed,ready;

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CRsaDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CRsaDlg)
	afx_msg void OnClickEncrypt();
	afx_msg void OnClickDecrypt();
	afx_msg void OnButtonGet();
	afx_msg void OnButtonPut();
	afx_msg void OnintroduceRsa();
	afx_msg void OnRashelp();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_RSADLG_H__B4E8D605_9D83_4E3C_A951_F80EE33365CB__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?