-
May 10th, 2002, 07:54 AM
#1
Member
encrypted chat program
I was just wondering how I would go about integrating encryption in a chat program (I'm not talking about chat programs in existence i.e. AIM), I want to build my own using c++ and sockets. I don't have very much experience in coding socket connections and win API, but I still want to know how to go about making the chat program somewhat "secure". Here is basically what I want the program to be capable of doing:
1. a user on one end types his/her message.
2. the user hits the "send" button, which encrypts the cleartext.
3. the cyphertext is transmitted to the chat program on the other end to the listening socket.
4. upon receival of the cyphertext, the program decrypts it to cleartext so the user on the other end can read it (obviously).
It sounds really complicated (atleast to me), and I'm not planning on having it done anytime soon. It is something I want to do in the future, so as of now, I'm learning as much as I can. So if any of you can help or point me in the right direction, I would be grateful.
I am going to try to write a chat application without encryption first, then when I get better, I can integrate some form of encryption to it.
Thanks for your help
-Nitro-
-
May 10th, 2002, 09:03 AM
#2
hmm i think u should do a research on "Encryption Algorithms"...
i did once.. so i could learn the logic behind VPN's Encryption Protocols.. very interesting really..
-
May 22nd, 2002, 11:00 AM
#3
Member
It might be a little complicated if you just started on Encryption & SOCKS, but the attached file contains the entire ICQ protocol, encryption, signals and all... I hope its useful. BTW I forgot, I didn't write this but I lost the site I got it from.
WE ARE the anti cancer...
WE ARE the only answer...
email
-
May 23rd, 2002, 08:34 AM
#4
Member
Thanks!
Hey Fiend, thanks for that ICQ stuff I'm sure it's going to help me on my way to programming an encrypted chat program.
-Nitro-
-
May 23rd, 2002, 08:38 AM
#5
Not sure if this will help you, but I suppose it could.
Check out SILC (Secure Internet Live Conferencing). http://silcnet.org/
It is IRC-like.
-
May 24th, 2002, 06:09 PM
#6
Junior Member
Take a look at CryptoHeaven
What you want to write sounds like part of CryptoHeaven instant messaging features. Here is the link http://www.CryptoHeaven.com and the download page is here http://www.cryptoheaven.com/Download/Download.htm
We even provide the entire source code (look in the download page), all is written in pure Java. An OO language not difficult to read. I encourage you to look at our communication layer, stuff in the com.CH_co.cryptx package and and com.CH_cl.service.engine package. This will give you plenty of ideas how to implement your own secure comm prog.
Marcin
________________________________________________
Secure online storage and file sharing http://www.CryptoHeaven.com
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|