Secure Chat Box Application demonstrates the use of socket programming and RSA encryption in Python. It is designed to provide a basic example of secure communication between multiple clients and a server.
- Secure Communication: Messages are encrypted using RSA encryption, ensuring secure communication between clients.
- Multi-client Support: The server can handle multiple clients simultaneously.
- GUI Client: The client application includes a graphical user interface (GUI) built with Tkinter.
- Real-time Messaging: Clients can send and receive messages in real-time.
-
Clone the repository:
git clone https://github.com/anishvedant/Chat-box-application.git cd Chat-box-application
-
Install dependencies:
pip install -r requirements.txt
-
Run the server:
python3 server.py
-
Run the client:
python3 client.py
- Start the server by running
server.py
. - The server will listen for incoming client connections on the specified host and port.
- Start multiple clients on different terminals by running
client.py
. - Enter a username and connect to the server.
- Send and receive messages securely.
- Host and Port: You can change the
HOST
andPORT
variables inserver.py
andclient.py
to run the server and client on different addresses and ports. - Encryption: The RSA encryption keys can be customized in the
decrypto.py
module.
Contributions are welcome! Feel free to fork the repository and submit pull requests with your improvements and bug fixes.
This project is licensed under the MIT License. See the LICENSE
file for details.
Chat-box application enhances communication security but does not guarantee absolute protection against all forms of attacks. Users are advised to understand the limitations and potential risks associated with the implementation. Use this project responsibly and in compliance with applicable laws and regulations.