winsock end to end AES 256bit chat

This is a discussion on winsock end to end AES 256bit chat within the C++ Programming forums, part of the General Programming Boards category; Hello, I'm looking to create a chat application that has no client server required.. just user to user only with ...

  1. #1
    Registered User
    Join Date
    Nov 2011
    Location
    USA
    Posts
    4

    winsock end to end AES 256bit chat

    Hello,

    I'm looking to create a chat application that has no client server required.. just user to user only with AES 256bit encryption. I've read up on winsock and starting to understand the terms and syntax of it but still a bit confused on how I'm going to incorporate encryption methods... (I do have C++ knowledge but none in networking, and do wish to start getting into it). Is their a tutorial or source code examples of another project anyone knows?
    Format I wish to use..

    user enters in keyword (base64 32bytes).. user types IP:Port.. User types message.. And not looking to use any GUI.. just all in a DOS style.. also.. (user1)AES-256 --> base64 encryption --> sends --> base64 decoder --> displays message (user2)

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    22,268
    Quote Originally Posted by Jazz Master
    I'm looking to create a chat application that has no client server required.. just user to user only with AES 256bit encryption.
    This is just an academic project or a personal project for experimentation, right?

    Quote Originally Posted by Jazz Master
    I've read up on winsock and starting to understand the terms and syntax of it but still a bit confused on how I'm going to incorporate encryption methods... (I do have C++ knowledge but none in networking, and do wish to start getting into it). Is their a tutorial or source code examples of another project anyone knows?
    Try searching the Web for "C++ encryption library". Since only private key encryption is involved here, you are assuming that both parties have already exchanged keys over a secure channel.
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    Registered User
    Join Date
    Nov 2011
    Location
    USA
    Posts
    4
    Yes, this is personal. Just want to figure out how to build this and get more into network security.

    And I'll check out some encryption libraries thanks. And correct

  4. #4
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,701
    You can get your basic client/server "hello world" samples from this tutorial: Beej's Guide to Network Programming

    gg

  5. #5
    Registered User
    Join Date
    Oct 2006
    Posts
    2,588
    for crypto libraries, I have used cryptopp a little bit, and found it to be quite powerful and relatively easy to use. it includes support for all common encryption algorithms, including DES, AES, Blowfish, etc.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. weird winsock output and winsock 2 not working
    By whackaxe in forum Networking/Device Communication
    Replies: 4
    Last Post: 07-09-2004, 12:10 PM
  2. winsock chat
    By b00l34n in forum Networking/Device Communication
    Replies: 17
    Last Post: 04-10-2004, 12:14 PM
  3. Winsock End-of-Message Response :: Winsock
    By kuphryn in forum Windows Programming
    Replies: 2
    Last Post: 12-24-2002, 01:27 PM
  4. Chat BOT
    By RoD in forum C++ Programming
    Replies: 85
    Last Post: 10-26-2002, 12:00 PM
  5. AOL Chat
    By Unregistered in forum Windows Programming
    Replies: 2
    Last Post: 06-13-2002, 11:41 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21