A simple network chat application enabling clients to connect and communicate securely over a TCP/IP network. This project implements encryption to ensure that messages exchanged between clients are secure.
- Secure Communication: Messages are encrypted to protect against interception.
- Multi-Client Support: Multiple clients can connect to the server simultaneously.
- User-Friendly Interface: Simple command-line interface for easy interaction.
-
Clone the Repository:
git clone https://github.com/riceriley59/Network-Chat-TCP-Encryted-.git
-
Navigate to the Project Directory:
cd Network-Chat-TCP-Encryted- -
Compile the Source Code:
javac *.javaEnsure you have Java Development Kit (JDK) installed.
-
Start the Server:
java Server
The server will start listening for client connections.
-
Connect a Client:
java Client
Follow the on-screen prompts to connect to the server and start chatting.
This application uses a symmetric encryption algorithm to secure messages. Each client shares a secret key with the server, which is used to encrypt and decrypt messages. Future enhancements may include implementing asymmetric encryption for key exchange.
Contributions are welcome! To contribute:
- Fork the Repository.
- Create a New Branch:
git checkout -b feature-name
- Make Your Changes.
- Commit Your Changes:
git commit -m "Description of changes" - Push to the Branch:
git push origin feature-name
- Open a Pull Request.
This project is licensed under the MIT License. See the LICENSE file for details.
For questions or suggestions, please open an issue in this repository.