资源简介

简单实用可以进行修改!数字签字和认证机构是电子商务的核心技术。数字签名作为目前Internet中电子商务重要的技术,不断地进行改进,标准化。本文从数字签名的意义出发,详细介绍了数字签名中涉及到的内容与算法,并自行结合进行改进。

资源截图

代码片段和文件信息

// sha1.cpp : Defines the class behaviors for the application.
//

#include “stdafx.h“
#include “sha1.h“
#include “sha1Dlg.h“

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CSha1App

BEGIN_MESSAGE_MAP(CSha1App CWinApp)
//{{AFX_MSG_MAP(CSha1App)
// 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()

/////////////////////////////////////////////////////////////////////////////
// CSha1App construction

CSha1App::CSha1App()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}

/////////////////////////////////////////////////////////////////////////////
// The one and only CSha1App object

CSha1App theApp;

/////////////////////////////////////////////////////////////////////////////
// CSha1App initialization

BOOL CSha1App::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

CSha1Dlg 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;
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件    2138191  2092-09-21 02:54  C++数字签名系统\sha1.exe

     文件    2138191  2092-09-21 02:54  C++数字签名系统\数字签名系统\Debug\sha1.exe

     文件    2484612  2092-12-26 06:12  C++数字签名系统\数字签名系统\Debug\sha1.ilk

     文件      14791  2092-10-13 15:17  C++数字签名系统\数字签名系统\Debug\sha1.obj

     文件    5519452  2007-06-12 13:15  C++数字签名系统\数字签名系统\Debug\sha1.pch

     文件    3531776  2093-06-24 02:55  C++数字签名系统\数字签名系统\Debug\sha1.pdb

     文件       9376  2007-06-12 13:15  C++数字签名系统\数字签名系统\Debug\sha1.res

     文件      49468  2092-08-08 07:18  C++数字签名系统\数字签名系统\Debug\sha1Dlg.obj

     文件     105395  2007-06-12 13:15  C++数字签名系统\数字签名系统\Debug\StdAfx.obj

     文件     214016  2092-10-28 14:00  C++数字签名系统\数字签名系统\Debug\vc60.idb

     文件     364544  2093-04-02 15:53  C++数字签名系统\数字签名系统\Debug\vc60.pdb

     目录          0  2007-10-24 21:40  C++数字签名系统\数字签名系统\Debug

     文件       3543  2007-04-22 07:08  C++数字签名系统\数字签名系统\ReadMe.txt

     文件       1078  2007-06-12 13:15  C++数字签名系统\数字签名系统\res\sha1.ico

     文件        396  2007-04-22 07:08  C++数字签名系统\数字签名系统\res\sha1.rc2

    ..A.SH.      3072  2007-04-22 11:51  C++数字签名系统\数字签名系统\res\Thumbs.db

     目录          0  2007-10-24 21:40  C++数字签名系统\数字签名系统\res

     文件       1786  2007-06-12 13:15  C++数字签名系统\数字签名系统\resource.h

     文件      22356  2093-04-01 09:15  C++数字签名系统\数字签名系统\sha1.aps

     文件       1860  2007-06-12 13:15  C++数字签名系统\数字签名系统\sha1.clw

     文件       2035  2007-04-22 07:08  C++数字签名系统\数字签名系统\sha1.cpp

     文件       4094  2093-09-01 05:06  C++数字签名系统\数字签名系统\sha1.dsp

     文件        533  2007-04-22 07:08  C++数字签名系统\数字签名系统\sha1.dsw

     文件       1302  2007-04-22 07:08  C++数字签名系统\数字签名系统\sha1.h

     文件     197632  2093-09-19 11:53  C++数字签名系统\数字签名系统\sha1.ncb

     文件      54784  2007-06-12 13:15  C++数字签名系统\数字签名系统\sha1.opt

     文件        632  2093-09-18 07:39  C++数字签名系统\数字签名系统\sha1.plg

     文件       7112  2093-09-25 17:53  C++数字签名系统\数字签名系统\sha1.rc

     文件      11835  2093-09-21 21:14  C++数字签名系统\数字签名系统\sha1Dlg.cpp

     文件       1960  2092-08-28 06:39  C++数字签名系统\数字签名系统\sha1Dlg.h

............此处省略7个文件信息

评论

共有 条评论