hack-house/README.MD
2023-03-08 19:43:59 +03:00

46 lines
1.6 KiB
Markdown

```
██████╗███╗ ███╗██████╗ ██████╗██╗ ██╗ █████╗ ████████╗
██╔════╝████╗ ████║██╔══██╗██╔════╝██║ ██║██╔══██╗╚══██╔══╝
██║ ██╔████╔██║██║ ██║██║ ███████║███████║ ██║
██║ ██║╚██╔╝██║██║ ██║██║ ██╔══██║██╔══██║ ██║
╚██████╗██║ ╚═╝ ██║██████╔╝╚██████╗██║ ██║██║ ██║ ██║
╚═════╝╚═╝ ╚═╝╚═════╝ ╚═════╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝
```
![Alt Text](example.gif)
# What is this?
It is console chat with encrypting your messages
# How it works?
All you need it's to run web-server and connect to them via client
# Run
### Create and activate virtual environment python
```
pip install secured_console_chat
```
```
import asyncio
import cmd_chat
if __name__ == '__main__':
asyncio.run(
cmd_chat.run()
)
```
# How crypting works?
* Client making priv key
* Server making symmetric key
* Client sending public key to server
* Server crypting symmetric key and sending to client
* Client encrypting private key
* And than communicate with server via symmetric key