• 大小: 121KB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-06-07
  • 语言: C/C++
  • 标签: 数据加密  

资源简介

采用RSA加密聊天数据,采用公钥,私钥进行数据处理,很好的代码

资源截图

代码片段和文件信息

// AboutDlg.cpp: implementation of the CAboutDlg class.
//
//////////////////////////////////////////////////////////////////////

#include “stdafx.h“
#include “secretchat.h“
#include “AboutDlg.h“

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

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD)
{
//{{AFX_DATA_INIT(CAboutDlg)
//}}AFX_DATA_INIT
}

void CAboutDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CAboutDlg)
DDX_Control(pDX IDC_HOMEPAGElink m_HomePagelink);
DDX_Control(pDX IDC_EMAILlink m_EMaillink);
//}}AFX_DATA_MAP
}

BEGIN_MESSAGE_MAP(CAboutDlg CDialog)
//{{AFX_MSG_MAP(CAboutDlg)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()


void CAboutDlg::OnOK() 
{
// TODO: Add extra validation here

//CDialog::OnOK();
}

void CAboutDlg::OnCancel() 
{
// TODO: Add extra cleanup here

//CDialog::OnCancel();
}

BOOL CAboutDlg::OnInitDialog() 
{
CDialog::OnInitDialog();

// Set Hyperlink for E-Mail
m_EMaillink.SetURL(“mailto:webmaster@wjmshome.com“); //联系的email地址
m_EMaillink.SetUnderline(FALSE); //没有下划线
m_EMaillink.SetlinkCursor(AfxGetApp()->LoadCursor(IDC_HAND));

// Set Hyperlink for Home Page
m_HomePagelink.SetURL(“http://www.wjmshome.com“);
m_HomePagelink.SetUnderline(FALSE);
m_HomePagelink.SetlinkCursor(AfxGetApp()->LoadCursor(IDC_HAND));

return TRUE;  // return TRUE unless you set the focus to a control
              // EXCEPTION: OCX Property Pages should return FALSE
}
/////////////////////////////////////////////////////////////////////////////

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

    .CA....      1828  2002-03-26 23:16  SecChat\SecChat\AboutDlg.cpp

    .CA....      1068  2002-03-26 23:16  SecChat\SecChat\AboutDlg.h

    .CA....     19318  1999-03-27 18:30  SecChat\SecChat\BtnST.cpp

    .CA....      6139  1999-03-27 18:29  SecChat\SecChat\BtnST.h

    .CA....      2809  2009-10-15 17:21  SecChat\SecChat\ClientSocket.cpp

    .CA....      1210  2002-03-21 00:52  SecChat\SecChat\ClientSocket.h

    .CA....      2709  2009-10-15 17:21  SecChat\SecChat\ColorComboBox.cpp

    .CA....      1414  2002-03-01 17:09  SecChat\SecChat\ColorComboBox.h

    .CA....      1137  2002-03-23 11:49  SecChat\SecChat\ColorEdit.cpp

    .CA....      1317  2002-03-12 15:04  SecChat\SecChat\ColorEdit.h

    .CA....      1452  2009-10-15 17:21  SecChat\SecChat\Connect.cpp

    .CA....      1253  2002-03-15 01:22  SecChat\SecChat\Connect.h

    .CA....      3682  2002-03-16 00:07  SecChat\SecChat\General.cpp

    .CA....      1555  2002-03-11 22:08  SecChat\SecChat\General.h

    .CA....      9129  2009-10-15 17:21  SecChat\SecChat\Hyperlink.cpp

    .CA....      2807  1997-11-22 16:42  SecChat\SecChat\Hyperlink.h

    .CA....     22193  2009-10-15 17:21  SecChat\SecChat\Label.cpp

    .CA....      2644  2001-06-02 00:14  SecChat\SecChat\Label.h

    .CA....      1435  2009-10-15 17:21  SecChat\SecChat\ListenSocket.cpp

    .CA....      1276  2002-03-17 16:32  SecChat\SecChat\ListenSocket.h

    .CA....      6093  2009-10-15 17:21  SecChat\SecChat\PrivateManager.cpp

    .CA....      1552  2002-03-09 23:42  SecChat\SecChat\PrivateManager.h

    .CA....      4981  2009-10-15 17:21  SecChat\SecChat\PublicKeyManager.cpp

    .CA....      1539  2002-03-11 12:54  SecChat\SecChat\PublicKeyManager.h

    .CA....      1853  2010-08-07 00:33  SecChat\SecChat\ReadMe.txt

    .CA....      2238  2002-02-06 13:04  SecChat\SecChat\res\connect.ico

    .CA....      2238  2002-02-06 13:04  SecChat\SecChat\res\disconnection.ico

    .CA....      2238  2002-02-06 13:17  SecChat\SecChat\res\encrypt .ico

    .CA....      2238  2002-02-06 01:25  SecChat\SecChat\res\exit.ico

    .CA....       326  2002-02-07 11:47  SecChat\SecChat\res\hand.cur

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

评论

共有 条评论