⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rsadlg.h

📁 非对称密码系统,包含RSA,ECC,大数乘法。
💻 H
字号:
#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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -