python main.py -e -m "The message of secret" -k 8
python main.py -d "APMHUM IOMHWNH MKZMA" -k 8
python main.py -ed -m "The message of secret" -k 8
- -k/--key is optional as it defaults to 3
python main.py -e -m "charlemagne" -k "AACHEN"
python main.py -d -m "HECQOCKHIEHY" -k "AACHEN"
- Encryption is working.
- Code needs optimization.
- Spaces will break the code.
- Double letters are not welcome in message at the moment.
python main.py -e -m "USMAN" -k "7 8 11 11"
Decrypt (Not implemented yet):
python main.py -d -m "" -k "7 8 11 11"
Support for space can be activated by changing mod to 27.
- Mod value will be changed to 27 if space is present in message.
Simplified Data Encryption Standard
- Only key geeration is implemented yet.