def decrypt_des(data): key = '&%#@?,:*' iv = '\x12\x34\x56\x78\x90\xab\xcd\xef' cipher = DES.new(key, DES.MODE_CBC, iv) return cipher.decrypt(data)