Added README

master
Mikołaj Lubiak 3 months ago
parent 6bd7816ad6
commit 36efbea200
  1. 7
      README.md
  2. 2
      client.py
  3. 2
      server.py

@ -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 threading import Thread
from time import sleep

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

Loading…
Cancel
Save