// RsaDlg.h : header file // #if !defined(AFX_RSADLG_H__64A4B212_29D4_42A5_918A_3ED81B0E302E__INCLUDED_) #define AFX_RSADLG_H__64A4B212_29D4_42A5_918A_3ED81B0E302E__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 ///////////////////////////////////////////////////////////////////////////// // CRsaDlg dialog class CRsaDlg : public CDialog { // Construction public: CRsaDlg(CWnd* pParent = NULL); // standard constructor BigInt p,q,n,f,e,d,inputnum,encnum,orignum; void WriteNotes(CString str); BigInt findprime(BigInt ignore_prime); // Dialog Data //{{AFX_DATA(CRsaDlg) enum { IDD = IDD_RSA_DIALOG }; CEdit m_notes; CString m_pnum; CString m_qnum; CString m_nnum; CString m_fnum; CString m_enum; CString m_dnum; CString m_input; CString m_inputnum; CString m_orignum; CString m_encnum; //}}AFX_DATA // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CRsaDlg) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: HICON m_hIcon; // Generated message map functions //{{AFX_MSG(CRsaDlg) virtual BOOL OnInitDialog(); afx_msg void OnSysCommand(UINT nID, LPARAM lParam); afx_msg void OnPaint(); afx_msg HCURSOR OnQueryDragIcon(); afx_msg void OnGenPrimes(); afx_msg void OnConvert(); afx_msg void OnGenE(); afx_msg void OnCalcD(); afx_msg void OnEncrypt(); afx_msg void OnDecrypt(); afx_msg void OnAuto(); afx_msg void OnClear(); //}}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__64A4B212_29D4_42A5_918A_3ED81B0E302E__INCLUDED_)