crypt.put_CryptAlgorithm('des')
crypt.put_CipherMode('cbc')
crypt.put_KeyLength(64)
crypt.put_PaddingScheme(0)
crypt.put_EncodingMode('hex')
ivHex = '0001020304050607'
crypt.SetEncodedIV(ivHex, 'hex')
keyHex = '0001020304050607'
crypt.SetEncodedKey(keyHex, 'hex')
encStr = crypt.encryptStringENC('The quick brown fox jumps over the lazy dog.')
print(encStr)
decStr = crypt.decryptStringENC(encStr)
print(decStr)
using DES/3DES with python