数字签名dlg.h

来自「本程序实现DSA数字签名 是学习和研究密码学的良好资源 欢迎下载」· C头文件 代码 · 共 73 行

H
73
字号
// 数字签名Dlg.h : header file
//
#include "BigInt.h"
#if !defined(AFX_DLG_H__AF880491_DD15_4AC6_80D7_9C503CA79E33__INCLUDED_)
#define AFX_DLG_H__AF880491_DD15_4AC6_80D7_9C503CA79E33__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// DMyDlg dialog

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

// Dialog Data
	//{{AFX_DATA(DMyDlg)
	enum { IDD = IDD_MY_DIALOG };
	CString	m_P;
	CString	m_Q;
	CString	m_G;		//mpdified in 2007.6.10
	CString	m_Y;
	CString	m_S;
	CString	m_V;
	int		m_Len;
	CString	m_OUT;
	CString	m_IN;
	CString	m_file;
	CString	m_string;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(DMyDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL
	CBigInt P,Q,G,Y,X,H,R,S,V,K;
	int seed,ready;


// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(DMyDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnButtonGet();
	afx_msg void OnEncrypt();
	afx_msg void OnDecrypt();
	afx_msg void OnBtnfile();
	afx_msg void OnChangeEditfile();
	afx_msg void OnChangeString();
	afx_msg void OnSha1Radio();
	afx_msg void OnMd5Radio();
	afx_msg void OnEditchangeCombo();
	afx_msg void OnButton1();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_DLG_H__AF880491_DD15_4AC6_80D7_9C503CA79E33__INCLUDED_)

⌨️ 快捷键说明

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