資源簡介
用VC實現DES的E置換與P置換

代碼片段和文件信息
//?desPE.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“desPE.h“
#include?“desPEDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CDesPEApp
BEGIN_MESSAGE_MAP(CDesPEApp?CWinApp)
//{{AFX_MSG_MAP(CDesPEApp)
//?NOTE?-?the?ClassWizard?will?add?and?remove?mapping?macros?here.
//????DO?NOT?EDIT?what?you?see?in?these?blocks?of?generated?code!
//}}AFX_MSG
ON_COMMAND(ID_HELP?CWinApp::onhelp)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
//?CDesPEApp?construction
CDesPEApp::CDesPEApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CDesPEApp?object
CDesPEApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CDesPEApp?initialization
BOOL?CDesPEApp::InitInstance()
{
AfxEnableControlContainer();
//?Standard?initialization
//?If?you?are?not?using?these?features?and?wish?to?reduce?the?size
//??of?your?final?executable?you?should?remove?from?the?following
//??the?specific?initialization?routines?you?do?not?need.
#ifdef?_AFXDLL
Enable3dControls(); //?Call?this?when?using?MFC?in?a?shared?DLL
#else
Enable3dControlsStatic(); //?Call?this?when?linking?to?MFC?statically
#endif
CDesPEDlg?dlg;
m_pMainWnd?=?&dlg;
int?nResponse?=?dlg.DoModal();
if?(nResponse?==?IDOK)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?OK
}
else?if?(nResponse?==?IDCANCEL)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?Cancel
}
//?Since?the?dialog?has?been?closed?return?FALSE?so?that?we?exit?the
//??application?rather?than?start?the?application‘s?message?pump.
return?FALSE;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????110637??2008-04-16?14:07??desPE\Debug\desPE.exe
?????文件?????347460??2008-04-16?14:07??desPE\Debug\desPE.ilk
?????文件??????13547??2008-04-16?12:29??desPE\Debug\desPE.obj
?????文件????5495716??2008-04-02?15:52??desPE\Debug\desPE.pch
?????文件?????410624??2008-04-16?14:07??desPE\Debug\desPE.pdb
?????文件???????2792??2008-04-16?13:59??desPE\Debug\desPE.res
?????文件??????41304??2008-04-16?14:07??desPE\Debug\desPEDlg.obj
?????文件?????105239??2008-04-02?15:52??desPE\Debug\StdAfx.obj
?????文件?????205824??2008-04-16?14:07??desPE\Debug\vc60.idb
?????文件?????364544??2008-04-16?14:07??desPE\Debug\vc60.pdb
?????文件??????35716??2008-04-16?13:59??desPE\desPE.aps
?????文件???????1364??2008-04-22?17:06??desPE\desPE.clw
?????文件???????2049??2008-04-02?15:47??desPE\desPE.cpp
?????文件???????4141??2008-04-02?15:47??desPE\desPE.dsp
?????文件????????535??2008-04-02?15:47??desPE\desPE.dsw
?????文件???????1313??2008-04-02?15:47??desPE\desPE.h
?????文件??????50176??2008-04-22?17:06??desPE\desPE.ncb
?????文件??????54784??2008-04-22?17:06??desPE\desPE.opt
?????文件????????921??2008-04-16?14:07??desPE\desPE.plg
?????文件???????5698??2008-04-16?13:59??desPE\desPE.rc
?????文件???????8424??2008-04-16?14:07??desPE\desPEDlg.cpp
?????文件???????1468??2008-04-16?12:27??desPE\desPEDlg.h
?????文件????????144??2008-04-16?14:07??desPE\E密文二進制表示.txt
?????文件????????288??2008-04-16?14:00??desPE\P密文二進制表示.txt
?????文件???????3561??2008-04-02?15:47??desPE\ReadMe.txt
?????文件???????1078??2008-04-02?15:47??desPE\res\desPE.ico
?????文件????????397??2008-04-02?15:47??desPE\res\desPE.rc2
?????文件????????959??2008-04-16?12:18??desPE\resource.h
?????文件????????207??2008-04-02?15:47??desPE\StdAfx.cpp
?????文件???????1054??2008-04-02?15:47??desPE\StdAfx.h
............此處省略7個文件信息
- 上一篇:2/3FEC編碼
- 下一篇:廣東省等echarts--省市縣級地圖json
評論
共有 條評論