def AES_dec(cipher, data):
 if HAVE_AES:
  return cipher.decrypt(data)
 else:
  decrypter = PYAES.Decrypter(cipher)
  dec = decrypter.feed(data)
  dec += decrypter.feed()
  return dec

def AES_dec ( cipher , data ) : if HAVE_AES : return cipher . decrypt ( data ) else : decrypter = PYAES . Decrypter ( cipher ) dec = decrypter . feed ( data ) dec += decrypter . feed ( ) return dec
decrypt data with the cipher .