ea3c7d310f7ab2ef8a34c1de07abf161b3cfa2cf
CMD CHAT
A console chat with encrypted messaging.
How it works
- The client generates a private key.
- The server generates a symmetric key.
- The client sends its public key to the server.
- The server encrypts the symmetric key and sends it back to the client.
- The client encrypts the private key.
- From then on, communication with the server happens via the symmetric key.
Installation & Run
Option 1: Python
pip install secured_console_chat
import asyncio
import cmd_chat
if __name__ == '__main__':
asyncio.run(cmd_chat.run())
Option 2: CLI
Start the server:
cmd_chat serve localhost 5000
Connect to the server:
cmd_chat connect localhost 5000 tyler
Example
Languages
Rust
45.8%
Python
34.7%
Shell
19.5%
