Update README.MD
This commit is contained in:
parent
574e2b8d2f
commit
e6ea017d25
22
README.MD
22
README.MD
|
|
@ -11,15 +11,15 @@
|
||||||
|
|
||||||
# What is this?
|
# What is this?
|
||||||
|
|
||||||
It is console chat with encrypting your messages
|
It is a console chat with message encryption.
|
||||||
|
|
||||||
# How it works?
|
# How does it work?
|
||||||
|
|
||||||
All you need it's to run web-server and connect to them via client
|
All you need to do is run a web server and connect to it via a client.
|
||||||
|
|
||||||
# Run
|
# Run
|
||||||
|
|
||||||
### Create and activate virtual environment python
|
### Create and activate a virtual environment in Python
|
||||||
|
|
||||||
```
|
```
|
||||||
pip install secured_console_chat
|
pip install secured_console_chat
|
||||||
|
|
@ -35,11 +35,11 @@ if __name__ == '__main__':
|
||||||
)
|
)
|
||||||
```
|
```
|
||||||
|
|
||||||
# How crypting works?
|
How does encryption work?
|
||||||
|
|
||||||
* Client making priv key
|
* The client generates a private key.
|
||||||
* Server making symmetric key
|
* The server generates a symmetric key.
|
||||||
* Client sending public key to server
|
* The client sends the public key to the server.
|
||||||
* Server crypting symmetric key and sending to client
|
* The server encrypts the symmetric key and sends it to the client.
|
||||||
* Client encrypting private key
|
* The client encrypts the private key.
|
||||||
* And than communicate with server via symmetric key
|
* After that, communication with the server occurs via the symmetric key.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user