Added README
This commit is contained in:
parent
6bd7816ad6
commit
36efbea200
|
@ -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.
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
#!/usr/bin/env python
|
||||||
|
|
||||||
from socket import socket, AF_INET, SOCK_STREAM
|
from socket import socket, AF_INET, SOCK_STREAM
|
||||||
from threading import Thread
|
from threading import Thread
|
||||||
from time import sleep
|
from time import sleep
|
||||||
|
|
Loading…
Reference in New Issue