0

I am just wondering if there are any Python libraries out there that can help me implement DES. Maybe ones that can generate the sub keys or apply permutations.

Thanks.

user3080860
  • 3
  • 1
  • 3

1 Answers1

0

The pycrypto library is the de-facto encryption library for python. It supports encryption and decryption of DES blocks, however DES only supports passwords of 7 bytes in length, and is considered obsolete and insecure. You're better off using a newer encryption standard like AES.

speedplane
  • 15,673
  • 16
  • 86
  • 138