python3 unencrypted.py [--s|--c hostname]
--sconfigures the current machine as the host (on port 9999)--c hostnameconfigures the current machine as a client and (tries) to connect tohostname(on port 9999)--smust be running before--cruns
- Uses Python
socketslibrary - No form of encryption (data can be eavesdropped, changed during transit, and host/clients may or may not be authorized
python3 encrypted.py [--s|--c hostname] [--confkey K1] [--authkey K2]
--sconfigures the current machine as the host (on port 9999)--c hostnameconfigures the current machine as a client and (tries) to connect tohostname(on port 9999)--confkey K1specifies the confidentiality key--authkey K2specifies the authorization key
- Uses Python
socketsandCryptolibraries - Uses
AES-256for encryption andHMAC(using SHA-256) for authentication - All communication is fully encrypted (and is decrypted once received)
- Host/Clients are checked to ensure authorization