A secure network providing confidentiality and data integrity.
Data Encryption Standard (DES) using the following block cipher modes:
- Electronic Codebook (ECB).
- Cipher Block Chaining (CBC).
- Cipher Feedback (CFB).
- Counter (CTR).
Hash-based Message Authentication Code (HMAC).
Hashing is implemented using RSA's MD5 message digest from python's hashlib. Find its documentation here.
python sender.py
Python receiver .py
In two separate terminals simultaneously.
You can choose the mode of operation only once at the start of the session.
Each session uses the same configurations, stored at “config.txt”.
To change the configurations or the mode of operation press Ctrl+C to end the current session and start a new session.
** Diagrams credits to William Stallings, Cryptography and Network Security, fifth edition.