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

📄 myrsadlg.h

📁 在VC环境下编写的,利用RSA进行数字签名算法
💻 H
字号:
// MyRsaDlg.h : header file
//

#if !defined(AFX_MYRSADLG_H__FB766362_38D2_4B1E_A7F0_9E97696ED3C0__INCLUDED_)
#define AFX_MYRSADLG_H__FB766362_38D2_4B1E_A7F0_9E97696ED3C0__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "BigInt.h"
#include "Rsa.h"
#include "GfL.h"
/////////////////////////////////////////////////////////////////////////////
// CMyRsaDlg dialog

class CMyRsaDlg : public CDialog
{
// Construction
public:
	CMyRsaDlg(CWnd* pParent = NULL);	// standard constructor
CBigInt BI;
BigInt		p,q,n,e,d;
CRsa		rsa;
char        buf[BI_MAXLEN+1];
// Dialog Data
	//{{AFX_DATA(CMyRsaDlg)
	enum { IDD = IDD_MYRSA_DIALOG };
	CString	m_p;
	CString	m_q;
	CString	m_d;
	CString	m_e;
	CString	m_n;
	CString	m_ming;
	CString	m_mi;
	CString	m_jiemi;
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CMyRsaDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnGetKey();
	afx_msg void OnCrypt();
	afx_msg void OnDeCrypt();
	afx_msg void OnChangeEcode();
	afx_msg void OnChangeEKey();
	afx_msg void OnChangeEm();
	afx_msg void OnChangeEe2();
	afx_msg void OnChangeEe();
	afx_msg void OnChangemiwen();
	afx_msg void OnChangemingwen();
	afx_msg void OnChangejiemi();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_MYRSADLG_H__FB766362_38D2_4B1E_A7F0_9E97696ED3C0__INCLUDED_)

⌨️ 快捷键说明

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