Added README

This commit is contained in:
Mikołaj Lubiak 2022-06-22 17:48:39 +02:00
parent 6bd7816ad6
commit 36efbea200
3 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,6 @@
# crypt
# Encrypted chat
Encrypted chat
## Usage:
### Server: `./server.py "IP address" "Port" "Key"*`, eg. `./server.py "127.0.0.1" "12345"`
### Client: `./client.py "IP address" "Port" "Key"*`, eg. `./client.py "127.0.0.1" "12345" "ojzqTVTIsuE6nemN9huFlYMNmyTHr9dUu-E5bL8HrTo="`
`*` - Optionally, but make sure that they both use the same key.

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
from socket import socket, AF_INET, SOCK_STREAM
from threading import Thread
from time import sleep

View File

@ -1,3 +1,5 @@
#!/usr/bin/env python
from socket import socket, AF_INET, SOCK_STREAM
from threading import Thread
from time import sleep