BruXOR Brute force every ASCII key: text = "q{vpln'bH_varHuebcrqxetrHOXEj" for key in range(256): print(''.join([chr(key ^ ord(x)) for x in text]))