A step by step python script describing how DES encryption works.
Replace the variables text
and key
(located at the top of the file) with a 64-bit binary integer and execute the sript with python3 encryption.py
or ./encryption.py
if you are on Linux.
The result will be printed at the end.