https://github.com/anishvedant/chat-box-application
This repository contains a secure chat application implemented using Python. The application uses RSA encryption for secure message exchange between clients and a server.
https://github.com/anishvedant/chat-box-application
algorithm chat-application cryptography encrypted-messages encryption-decryption multi-client-support python python-gui-tkinter python-socket-server real-time real-time-messaging rsa-cryptography rsa-encryption secure-chat secure-communication socket socket-programming tkinter tkinter-gui
Last synced: about 1 month ago
JSON representation
This repository contains a secure chat application implemented using Python. The application uses RSA encryption for secure message exchange between clients and a server.
- Host: GitHub
- URL: https://github.com/anishvedant/chat-box-application
- Owner: anishvedant
- License: mit
- Created: 2024-05-15T17:56:23.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-18T00:18:20.000Z (about 1 year ago)
- Last Synced: 2025-02-17T03:30:05.533Z (4 months ago)
- Topics: algorithm, chat-application, cryptography, encrypted-messages, encryption-decryption, multi-client-support, python, python-gui-tkinter, python-socket-server, real-time, real-time-messaging, rsa-cryptography, rsa-encryption, secure-chat, secure-communication, socket, socket-programming, tkinter, tkinter-gui
- Language: Python
- Homepage:
- Size: 27.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# Chat-Box Application
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.
## Features
- **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.## Installation
1. **Clone the repository**:
```bash
git clone https://github.com/anishvedant/Chat-box-application.git
cd Chat-box-application
```2. **Install dependencies**:
```bash
pip install -r requirements.txt
```3. **Run the server**:
```bash
python3 server.py
```4. **Run the client**:
```bash
python3 client.py
```## Usage
### Server
1. Start the server by running `server.py`.
2. The server will listen for incoming client connections on the specified host and port.### Client
1. Start multiple clients on different terminals by running `client.py`.
2. Enter a username and connect to the server.
3. Send and receive messages securely.## Customization
- **Host and Port**: You can change the `HOST` and `PORT` variables in `server.py` and `client.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.## Contributing
Contributions are welcome! Feel free to fork the repository and submit pull requests with your improvements and bug fixes.
## License
This project is licensed under the MIT License. See the `LICENSE` file for details.
## Disclaimer
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.