資源簡介
可以對選擇的本地文件進行加密,并生成相應的MD5值,附帶程序源碼

代碼片段和文件信息
//?MD5.cpp?:?定義應用程序的類行為。
//
#include?“stdafx.h“
#include?“MD5.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#endif
//?CMD5App
BEGIN_MESSAGE_MAP(CMD5App?CWinApp)
ON_COMMAND(ID_HELP?&CWinApp::onhelp)
END_MESSAGE_MAP()
//?CMD5App?構造
CMD5App::CMD5App()
{
//?支持重新啟動管理器
m_dwRestartManagerSupportFlags?=?AFX_RESTART_MANAGER_SUPPORT_RESTART;
//?TODO:?在此處添加構造代碼,
//?將所有重要的初始化放置在?InitInstance?中
}
//?唯一的一個?CMD5App?對象
CMD5App?theApp;
//?CMD5App?初始化
BOOL?CMD5App::InitInstance()
{
//?如果一個運行在?Windows?XP?上的應用程序清單指定要
//?使用?ComCtl32.dll?版本?6?或更高版本來啟用可視化方式,
//則需要?InitCommonControlsEx()。否則,將無法創建窗口。
INITCOMMONCONTROLSEX?InitCtrls;
InitCtrls.dwSize?=?sizeof(InitCtrls);
//?將它設置為包括所有要在應用程序中使用的
//?公共控件類。
InitCtrls.dwICC?=?ICC_WIN95_CLASSES;
InitCommonControlsEx(&InitCtrls);
CWinApp::InitInstance();
AfxEnableControlContainer();
//?創建?shell?管理器,以防對話框包含
//?任何?shell?樹視圖控件或?shell?列表視圖控件。
CShellManager?*pShellManager?=?new?CShellManager;
//?標準初始化
//?如果未使用這些功能并希望減小
//?最終可執行文件的大小,則應移除下列
//?不需要的特定初始化例程
//?更改用于存儲設置的注冊表項
//?TODO:?應適當修改該字符串,
//?例如修改為公司或組織名
SetRegistryKey(_T(“應用程序向導生成的本地應用程序“));
CMD5Dlg?dlg;
m_pMainWnd?=?&dlg;
INT_PTR?nResponse?=?dlg.DoModal();
if?(nResponse?==?IDOK)
{
//?TODO:?在此放置處理何時用
//??“確定”來關閉對話框的代碼
}
else?if?(nResponse?==?IDCANCEL)
{
//?TODO:?在此放置處理何時用
//??“取消”來關閉對話框的代碼
}
//?刪除上面創建的?shell?管理器。
if?(pShellManager?!=?NULL)
{
delete?pShellManager;
}
//?由于對話框已關閉,所以將返回?FALSE?以便退出應用程序,
//??而不是啟動應用程序的消息泵。
return?FALSE;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????6333952??2016-02-17?14:39??secret_second_edition(using)?-?副本\secret\Debug\secret.exe
?????文件???????1933??2015-11-07?16:27??secret_second_edition(using)?-?副本\secret\secret\MD5.cpp
?????文件????????426??2015-11-07?16:26??secret_second_edition(using)?-?副本\secret\secret\MD5.h
?????文件???????3122??2015-11-06?16:09??secret_second_edition(using)?-?副本\secret\secret\ReadMe.txt
?????文件??????67777??2009-08-31?02:31??secret_second_edition(using)?-?副本\secret\secret\res\secret.ico
?????文件????????668??2015-11-06?16:09??secret_second_edition(using)?-?副本\secret\secret\res\secret.rc2
?????文件???????1818??2015-11-06?17:58??secret_second_edition(using)?-?副本\secret\secret\resource.h
?????文件??????90048??2015-11-27?09:34??secret_second_edition(using)?-?副本\secret\secret\secret.aps
?????文件???????1993??2015-11-06?16:09??secret_second_edition(using)?-?副本\secret\secret\secret.cpp
?????文件????????442??2015-11-06?16:09??secret_second_edition(using)?-?副本\secret\secret\secret.h
?????文件??????10826??2015-11-06?18:05??secret_second_edition(using)?-?副本\secret\secret\secret.rc
?????文件???????5952??2015-11-18?13:08??secret_second_edition(using)?-?副本\secret\secret\secret.vcxproj
?????文件???????1981??2015-11-07?16:28??secret_second_edition(using)?-?副本\secret\secret\secret.vcxproj.filters
?????文件????????143??2015-11-06?16:09??secret_second_edition(using)?-?副本\secret\secret\secret.vcxproj.user
?????文件??????14555??2016-02-17?14:39??secret_second_edition(using)?-?副本\secret\secret\secretDlg.cpp
?????文件????????841??2015-11-08?13:49??secret_second_edition(using)?-?副本\secret\secret\secretDlg.h
?????文件????????139??2015-11-06?16:09??secret_second_edition(using)?-?副本\secret\secret\stdafx.cpp
?????文件???????1632??2015-11-06?16:09??secret_second_edition(using)?-?副本\secret\secret\stdafx.h
?????文件????????234??2015-11-06?16:09??secret_second_edition(using)?-?副本\secret\secret\targetver.h
?????文件????????885??2015-11-06?16:09??secret_second_edition(using)?-?副本\secret\secret.sln
????..A..H.?????13824??2016-02-17?14:39??secret_second_edition(using)?-?副本\secret\secret.suo
?????目錄??????????0??2016-02-17?14:37??secret_second_edition(using)?-?副本\secret\secret\res
?????目錄??????????0??2016-02-17?14:39??secret_second_edition(using)?-?副本\secret\Debug
?????目錄??????????0??2016-02-17?14:40??secret_second_edition(using)?-?副本\secret\secret
?????目錄??????????0??2016-02-17?14:39??secret_second_edition(using)?-?副本\secret
?????目錄??????????0??2016-02-17?14:39??secret_second_edition(using)?-?副本
-----------?---------??----------?-----??----
??????????????6553191????????????????????26
- 上一篇:智能電網大數據平臺與關鍵技術分析
- 下一篇:AUTOSAR_OS V4.0
評論
共有 條評論