Click here to Skip to main content
15,892,809 members
Please Sign up or sign in to vote.
2.33/5 (3 votes)
See more:
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.
Posted
Comments
Albert Holguin 6-Mar-12 12:11pm    
So what's your question? This is too broad, be more specific.
ntechsolution 6-Mar-12 13:05pm    
i want two or more pc to send instant message securely
Sergey Alexandrovich Kryukov 8-Mar-12 19:22pm    
Agree, but I basically answered, OP is satisfied.
--SA
Albert Holguin 9-Mar-12 13:08pm    
I see, you just covered most of the bases, but having an ad-hoc network also adds some complexity (i.e. you would need some self-discovery mechanism), anyway... hard to tell when we have no idea at what level the OP is building at (and what specifically he's working on).
ntechsolution 9-Mar-12 13:28pm    
the os is microsoft windows 7 32bits.and i am working on two personal computers communicating securely to each other wirellessly.

1 solution

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
 
Share this answer
 
Comments
Nithin Sundar 6-Mar-12 22:57pm    
Nice. 5! CryptoStream might also help.
Sergey Alexandrovich Kryukov 6-Mar-12 23:57pm    
Thank you, Nithin.
--SA
ntechsolution 8-Mar-12 5:52am    
source code in vb 2008
ntechsolution 8-Mar-12 4:08am    
thanks ,nice one 5*.
Sergey Alexandrovich Kryukov 8-Mar-12 19:19pm    
Thank you.
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900