Update readme.MD
This commit is contained in:
parent
ddf4815a54
commit
f0224e2231
17
readme.MD
17
readme.MD
|
|
@ -2,7 +2,9 @@ here is secured online chat what can be runned in cmd
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
how to run server on linux:
|
# Server run
|
||||||
|
|
||||||
|
## Linux
|
||||||
|
|
||||||
```
|
```
|
||||||
chmod +x run_server.sh
|
chmod +x run_server.sh
|
||||||
|
|
@ -12,7 +14,7 @@ chmod +x run_server.sh
|
||||||
./run_server.sh <port>
|
./run_server.sh <port>
|
||||||
```
|
```
|
||||||
|
|
||||||
how to run server on windows 10 / 11 in powershell
|
## Windows
|
||||||
|
|
||||||
```
|
```
|
||||||
python -m venv venv
|
python -m venv venv
|
||||||
|
|
@ -30,7 +32,9 @@ pip install -r reqs.txt
|
||||||
sanic server.app -H 0.0.0.0 -p <port>
|
sanic server.app -H 0.0.0.0 -p <port>
|
||||||
```
|
```
|
||||||
|
|
||||||
how to run client on linux
|
# Client run
|
||||||
|
|
||||||
|
## Linux
|
||||||
|
|
||||||
```
|
```
|
||||||
chmod +x run_client.sh
|
chmod +x run_client.sh
|
||||||
|
|
@ -39,7 +43,7 @@ chmod +x run_client.sh
|
||||||
./run_client.sh
|
./run_client.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
how to run clear client on windows
|
## Windows
|
||||||
|
|
||||||
```
|
```
|
||||||
python -m venv venv
|
python -m venv venv
|
||||||
|
|
@ -57,8 +61,7 @@ pip install -r reqs.txt
|
||||||
python client.py
|
python client.py
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## How crypting works?
|
||||||
crypting pipeline
|
|
||||||
|
|
||||||
* Client making priv key
|
* Client making priv key
|
||||||
* Server making symmetric key
|
* Server making symmetric key
|
||||||
|
|
@ -68,7 +71,7 @@ crypting pipeline
|
||||||
* And than communicate with server via
|
* And than communicate with server via
|
||||||
* symmetric key
|
* symmetric key
|
||||||
|
|
||||||
to do
|
## To do
|
||||||
|
|
||||||
* interface for choosing server in client
|
* interface for choosing server in client
|
||||||
* double password user verification
|
* double password user verification
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user