ChatOTP is a chat protocol designed for anonymity and security through one-time pads. Each client generates a unique one-time key for encryption per session.
Note: This project was created as a part of term project for Cryptography and is not recommended for production purposes as of now.
(Note: Make sure you are running the server before running the web-client)
This repository contains source code for ChatOTP Web-Client. The web-client uses SignalR for robust and faster connection between multiple clients and servers.
On connection, the web-client asks the user for username and encryption algorithm (Xor by default). Only after username is given, the SignalR connection is done over client and server.
This is a beta screenshot during testing of chat application over multiple clients and file transfer
- Xor Cipher
- Rc4 Cipher Note: Rc4 cipher generates a keystream which can be used for encryption by combining it with plaintext using bitwise Xor.
- You can directly run the client using
docker compose up
or use VSCode Dev Containers to run the client. - In case of development environment, you must use
vite run dev
to run vite dev server.