des.py - Data Encryption Standard (Electronic Code Book)

A python script to show the process of encrypting & decrypting using "Data Encryption Standard" (DES) step by step.

Figure 1 - "Variable" Flowchart

Figure 2 - Console output (Encryption)

Figure 3 - Console output (Decryption)

Links

Download (des.py): Coming soon

Examples

1
2
3
4
python des.py
python des.py -a enc -k 02468ACE -m "HelloWord"
python des.py -a dec -k 02468ACE -m fb37a0c2d860b89630c7618b0df81564
python des.py -a enc -k 1a2b3c4d -m "Have you... g0tmi1k?" -v

Code

1
coming soon

References