The core of des-metal is contained in the file des.py. This implementation tries to break apart the several components of DES (the Feistel Scheme, the permutations, the Feistel Function, the key ...