from Crypto.Cipher import AES from random import randint from time import time from struct import pack BS = AES.block_size pad = lambda s: s + '\x00' * (BS - len(s) % BS) cyphered = '1ae4c56852fde8ca7ec9823587550aa2be3c839caa0a565c6a299e7a5e2cc9998302960abc778ba3ee3c8ad0518b1edae12e4a387fbfcfa25e7b0e249a17ff61'.decode('hex') k2 = 0 while k2 <=0xFFFFFF: key2 = pad(pack('