通过ad hoc无线网络发送安全消息 [英] send secure message through ad hoc wireless network

查看:88
本文介绍了通过ad hoc无线网络发送安全消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的项目中,我需要有关ad hoc网络的安全通信协议的帮助,并且我想创建一个应用程序软件,该软件可以帮助两台或多台机器通过无线ad hoc网络进行安全的通信.

please i need help for my project about a secure communication protocol for ad hoc network,and i want to create an application software that can help two or more machines to communicate securely through wireless ad hoc network.

推荐答案

首先,即使有人在建立联系之前侦听该通信,该通信也是完全秘密的.许多人会说这在逻辑上是不可能的,因为他们需要第一次交换密码或类似的东西.如果您阅读有关公钥密码学的内容,则该论点有一个微妙的逻辑缺陷.请参阅:

http://en.wikipedia.org/wiki/Public-key_cryptography [ http://msdn.microsoft.com/en-us/library/system. security.cryptography.asymmetricalgorithm.aspx [ ^ ].

现在,您需要学习一些网络知识,并了解哪种网络方式更适合您的目的.我在过去的回答中概述了它们:
我如何将byte []发送到另一台PC [ ^ ],
在局域网上与两个Windows应用程序进行通信. [^ ].

—SA
First of all, the communication can be perfectly secret even someone spies on the communication before people ever establish a contact. Many would say it is logically impossible, because they need to exchange passwords or something like that for a first time. This argument has a subtle logical flaw you are about to discover if you read about public-key cryptography. Please see:

http://en.wikipedia.org/wiki/Public-key_cryptography[^].

There are several well-know methods well implemented in .NET. Look for one of the asymmetric algorithm classes (RSA is the most usually used):
http://msdn.microsoft.com/en-us/library/system.security.cryptography.asymmetricalgorithm.aspx[^].

Now, you need to learn some networking and understand which way of networking is better for your purposes. I overview them in my past answers:
how i can send byte[] to other pc[^],
Communication b/w two Windows applications on LAN.[^].

—SA


这篇关于通过ad hoc无线网络发送安全消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆