This project contains a simple implementation of the Simplified DES (SDES) encryption algorithm. Note: Padding is not yet implemented.
To run the program, use one of the following flags to choose the operation mode:
--ecbfor Electronic Code Book mode--cbcfor Cipher Block Chaining mode
You can also add the --debug flag to display debug messages during execution.
Before running, make sure to provide the required inputs inside the data folder:
key: the encryption keyiv: the initialization vector (used only in CBC mode)plaintext: the message to be encrypted