for i inrange(8,13): # keylen = 8~12 printable = sum([xor(enc,key+b'x'*(i-5)).count(switchBS(c)) for c in string.printable]) if printable > counter : length = i counter = printable
AIS3{captAIn aMeric4 - Wh4T3V3R HapPenS t0mORr0w YOU mUst PR0Mis3 ME on3 tHIng. TH4T yOu WiLL stAY Who Y0U 4RE. Not A pERfect sO1dIER, buT 4 gOOD MAn.}