-
大小: 814KB文件類型: .rar金幣: 2下載: 0 次發(fā)布日期: 2021-06-05
- 語(yǔ)言: 其他
- 標(biāo)簽:
資源簡(jiǎn)介
使用vc開發(fā)了一個(gè)基于des的文件加密解密系統(tǒng)

代碼片段和文件信息
//?AboutDlg.cpp?:?implementation?file
//
#include?“stdafx.h“
#include?“Minica.h“
#include?“AboutDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
extern??CMinicaApp?????????theApp;
static??BOOL?bClicked?=?FALSE;
char?*pArrCredit?=?{?“|簡(jiǎn)單加密系統(tǒng)(DES)?Ver?1.0\t||Copyright?(c)?2004|“
????????“廣東工業(yè)大學(xué)計(jì)算機(jī)學(xué)院|安全與保密小組制作||“
????????“BITMAPBADGE^||“????//?this?is?a?quoted?bitmap?resource?
????????“成員\r||200008014219?梁偉|200008014220?梁偉韜||“
????????“BITMAPCITY^||“????//?this?is?a?quoted?bitmap?resource?
????????“Window支持類(class?CWindow)\r||?梁偉韜||“
????????“通用庫(kù)(class?CGfL)\r||梁偉?梁偉韜||“
????????“輸入輸出文件類(class?CFileInOut)\r||梁偉||“
????????“DES(class?CDes)\r||梁偉?梁偉韜||“????????????
????????“界面\r||梁偉||“
????????“*?*?*?*?*?*?*?*?*\t|||“
????????“BITMAPZHULOU^||“
????????“技術(shù)支持\r||梁偉?梁偉韜||“
????????“文檔\r||梁偉?梁偉韜||“
????????“系統(tǒng)支持\r||梁偉韜||“
????????“管理支持\r||梁偉韜||||“
????????“BITMAPBADGENAME^|||||||||||||||“
????????};
/////////////////////////////////////////////////////////////////////////////
//?CAboutDlg?dialog
CAboutDlg::CAboutDlg(CWnd*?pParent?/*=NULL*/)
:?CDialog(CAboutDlg::IDD?pParent)
{
//{{AFX_DATA_INIT(CAboutDlg)
//?NOTE:?the?ClassWizard?will?add?member?initialization?here
//}}AFX_DATA_INIT
CBitmap?bmp;
srand(GetTickCount());
do{theApp.bk_about=rand()%5;}while(theApp.bk_about==theApp.bk_mainui
??????????????????????||theApp.bk_about==1||theApp.bk_about==3);
bmp.LoadBitmap(IDB_BKBITMAP1+theApp.bk_about);
m_BkBrush?=?CreatePatternBrush?((HBITMAP)bmp.GetSafeHandle())?;
bmp.Deleteobject();
bitmapIDs[0]?=?IDB_BKBITMAP2;
bitmapIDs[1]?=?IDB_BKBITMAP4;
}
void?CAboutDlg::DoDataExchange(CDataExchange*?pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CAboutDlg)
//?NOTE:?the?ClassWizard?will?add?DDX?and?DDV?calls?here
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CAboutDlg?CDialog)
//{{AFX_MSG_MAP(CAboutDlg)
ON_WM_CTLCOLOR()
ON_WM_TIMER()
ON_WM_DESTROY()
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
//?CAboutDlg?message?handlers
#define??DISPLAY_TIMER_ID 151
BOOL?CAboutDlg::OnInitDialog()?
{
CDialog::OnInitDialog();
//?TODO:?Add?extra?initialization?here
m_neuhomepage.SubclassDlgItem(IDC_NEUHOMEPAGE_STATICthis);
m_myemail.SubclassDlgItem(IDC_MYEMAIL_STATICthis);
m_neuhomepage.Setlink(TRUE)
?.SetTextColor(RGB(00255))
?????????.SetFontUnderline(TRUE)
?.SetlinkCursor(AfxGetApp()->LoadCursor(IDC_HAND));
m_myemail.Setlink(TRUE)
?????.SetTextColor(RGB(00255))
?????.SetFontUnderline(TRUE)
?????.SetlinkCursor(AfxGetApp()->LoadCursor(IDC_HAND));
?????????
m_credit.SubclassDlgItem(IDC_DISPLAY_STATICthis);
m_credit.SetCredits(pArrCredit‘|‘);
m_credit.SetSpeed(DISPLAY_FAST);
m_credit.SetColor(BACKGROUND_COLOR?RGB(00255)
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件???????4381??2004-06-02?15:29??源程序\AboutDlg.cpp
?????文件???????1621??2004-05-25?00:33??源程序\AboutDlg.h
?????文件??????28785??2004-05-25?00:33??源程序\CreditStatic.cpp
?????文件???????3671??2004-05-25?00:33??源程序\CreditStatic.h
?????文件??????20524??2004-06-03?16:38??源程序\Debug\AboutDlg.obj
?????文件??????65826??2004-05-25?01:25??源程序\Debug\CreditStatic.obj
?????文件??????21596??2004-05-29?10:04??源程序\Debug\Des.obj
?????文件???????7851??2004-05-29?10:04??源程序\Debug\FileInOut.obj
?????文件???????9243??2004-05-29?10:04??源程序\Debug\GfL.obj
?????文件??????27835??2004-05-25?00:59??源程序\Debug\Label.obj
?????文件??????29951??2004-05-27?03:10??源程序\Debug\MD5Checksum.obj
?????文件?????380971??2004-06-03?16:38??源程序\Debug\Minica.exe
?????文件??????18591??2004-05-29?10:04??源程序\Debug\Minica.obj
?????文件?????566272??2004-06-03?16:38??源程序\Debug\Minica.pdb
?????文件?????172988??2004-05-27?03:20??源程序\Debug\Minica.res
?????文件??????59851??2004-05-29?10:04??源程序\Debug\MinicaDlg.obj
?????文件??????14868??2004-05-25?01:25??源程序\Debug\MyFileDialog.obj
?????文件?????105489??2004-05-25?00:59??源程序\Debug\StdAfx.obj
?????文件?????372736??2004-06-03?16:38??源程序\Debug\vc60.pdb
?????文件??????33213??2004-05-29?10:04??源程序\Debug\Window.obj
?????文件??????15554??2004-05-29?10:04??源程序\Des.cpp
?????文件???????1960??2004-05-25?00:50??源程序\Des.h
?????文件???????2738??2004-05-29?10:04??源程序\FileInOut.cpp
?????文件????????859??2004-06-01?16:52??源程序\FileInOut.h
?????文件???????5691??2004-05-29?10:04??源程序\GfL.cpp
?????文件???????1265??2004-05-29?10:04??源程序\GfL.h
?????文件???????4599??2004-05-25?00:50??源程序\Label.cpp
?????文件???????2093??2004-05-25?00:50??源程序\Label.h
?????文件??????17750??2004-05-27?03:06??源程序\MD5Checksum.cpp
?????文件???????1587??2004-05-27?03:06??源程序\MD5Checksum.h
............此處省略39個(gè)文件信息
評(píng)論
共有 條評(píng)論