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

📄 elgamaltooldlg.h

📁 这个程序是网络信息安全概论课的课程实践,自己动手编写一个具于1024位大数 运算的ELGamal加密系统。 ELGamal 依赖大数运算
💻 H
字号:
// ELGamaltoolDlg.h : header file
//
#include "BigInt.h"
#include "ELGmaltest1.h"
#if !defined(AFX_ELGAMALTOOLDLG_H__967F7295_DDAB_434F_8D73_945E328ADB9B__INCLUDED_)
#define AFX_ELGAMALTOOLDLG_H__967F7295_DDAB_434F_8D73_945E328ADB9B__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CELGamaltoolDlg dialog

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

// Dialog Data
	//{{AFX_DATA(CELGamaltoolDlg)
	enum { IDD = IDD_ELGAMALTOOL_DIALOG };
	CProgressCtrl	m_progress;
	CString	m_publicB;
	CString	m_publicg;
	CString	m_publicp;
	CString	m_privateb;
	//}}AFX_DATA
    
     CBigInt p,g,b,B,A,a;
	 int ready;
	 CELGmaltest *pDlg;
	 //CProgressCtrl	m_progress;
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CELGamaltoolDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CELGamaltoolDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnBUTtest();
	afx_msg void OnBUTgenerate();
	afx_msg void OnButtonhelp();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_ELGAMALTOOLDLG_H__967F7295_DDAB_434F_8D73_945E328ADB9B__INCLUDED_)

⌨️ 快捷键说明

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