資源簡介
里面有md5加密算法的完整實現,一個完整的工程,用c實現的。不過是從別人那弄過來的,親測沒問題。哈哈

代碼片段和文件信息
//?MD5.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“MD5.h“
#include?“MD5Dlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CMD5App
BEGIN_MESSAGE_MAP(CMD5App?CWinApp)
//{{AFX_MSG_MAP(CMD5App)
//?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()
/////////////////////////////////////////////////////////////////////////////
//?CMD5App?construction
CMD5App::CMD5App()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CMD5App?object
CMD5App?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CMD5App?initialization
BOOL?CMD5App::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
CMD5Dlg?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;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????2564??2013-11-19?20:08??md5加密算法源代碼\MD5\Debug\MD5.res
?????文件??????33792??2013-11-19?20:08??md5加密算法源代碼\MD5\Debug\vc60.idb
?????文件??????35628??2008-12-04?10:46??md5加密算法源代碼\MD5\MD5.APS
?????文件???????1151??2008-12-04?10:52??md5加密算法源代碼\MD5\MD5.clw
?????文件???????2021??2008-11-27?09:41??md5加密算法源代碼\MD5\MD5.cpp
?????文件???????4229??2008-11-27?09:45??md5加密算法源代碼\MD5\MD5.dsp
?????文件????????529??2008-11-27?09:41??md5加密算法源代碼\MD5\MD5.dsw
?????文件???????1291??2008-11-27?09:41??md5加密算法源代碼\MD5\MD5.h
?????文件??????41984??2013-11-19?20:08??md5加密算法源代碼\MD5\MD5.ncb
?????文件??????48640??2013-11-19?20:08??md5加密算法源代碼\MD5\MD5.opt
?????文件???????1662??2013-11-19?20:08??md5加密算法源代碼\MD5\MD5.plg
?????文件???????5296??2008-12-04?10:46??md5加密算法源代碼\MD5\MD5.rc
?????文件???????4595??2008-12-04?10:52??md5加密算法源代碼\MD5\MD5Dlg.cpp
?????文件???????1332??2008-11-27?09:44??md5加密算法源代碼\MD5\MD5Dlg.h
?????文件??????10330??2008-11-25?17:33??md5加密算法源代碼\MD5\MD5Pro.cpp
?????文件???????2059??2005-07-18?14:52??md5加密算法源代碼\MD5\MD5Pro.h
?????文件???????3525??2008-11-27?09:41??md5加密算法源代碼\MD5\ReadMe.txt
?????文件???????1078??2008-11-27?09:41??md5加密算法源代碼\MD5\res\MD5.ico
?????文件????????395??2008-11-27?09:41??md5加密算法源代碼\MD5\res\MD5.rc2
?????文件????????727??2008-12-04?10:46??md5加密算法源代碼\MD5\resource.h
?????文件????????205??2008-11-27?09:41??md5加密算法源代碼\MD5\StdAfx.cpp
?????文件???????1054??2008-11-27?09:41??md5加密算法源代碼\MD5\StdAfx.h
?????文件????????809??2003-09-01?10:17??md5加密算法源代碼\MD5加密算法源代碼+DLL成品_1\global.h
?????文件????????304??2003-09-01?10:17??md5加密算法源代碼\MD5加密算法源代碼+DLL成品_1\md5.clw
?????文件??????12429??2013-11-18?23:28??md5加密算法源代碼\MD5加密算法源代碼+DLL成品_1\md5.cpp
?????文件????????225??2003-09-01?10:17??md5加密算法源代碼\MD5加密算法源代碼+DLL成品_1\md5.def
?????文件???????3365??2013-11-19?00:01??md5加密算法源代碼\MD5加密算法源代碼+DLL成品_1\md5.dsp
?????文件????????514??2013-11-19?00:03??md5加密算法源代碼\MD5加密算法源代碼+DLL成品_1\md5.dsw
?????文件???????1709??2003-09-01?10:17??md5加密算法源代碼\MD5加密算法源代碼+DLL成品_1\md5.h
?????文件??????58368??2013-11-19?00:03??md5加密算法源代碼\MD5加密算法源代碼+DLL成品_1\md5.ncb
............此處省略29個文件信息
評論
共有 條評論