资源简介
使用vc开发了一个基于des的文件加密解密系统
代码片段和文件信息
// 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 = { “|简单加密系统(DES) Ver 1.0\t||Copyright (c) 2004|“
“广东工业大学计算机学院|安全与保密小组制作||“
“BITMAPBADGE^||“ // this is a quoted bitmap resource
“成员\r||200008014219 梁伟|200008014220 梁伟韬||“
“BITMAPCITY^||“ // this is a quoted bitmap resource
“Window支持类(class CWindow)\r|| 梁伟韬||“
“通用库(class CGfL)\r||梁伟 梁伟韬||“
“输入输出文件类(class CFileInOut)\r||梁伟||“
“DES(class CDes)\r||梁伟 梁伟韬||“
“界面\r||梁伟||“
“* * * * * * * * *\t|||“
“BITMAPZHULOU^||“
“技术支持\r||梁伟 梁伟韬||“
“文档\r||梁伟 梁伟韬||“
“系统支持\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)
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 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个文件信息
评论
共有 条评论