cryptopals
cryptopals copied to clipboard
Error
Thank you for your work. I am struggling to solve 6.1 and tried your code and found: (can you provide the outcome instead?)
UnicodeDecodeError Traceback (most recent call last)
ipython-input-11-54a020cf378d in main() 9 # Compute and print the result of the attack 10 result = break_repeating_key_xor(data) ---> 11 print("Key =", result[1].decode()) 12 print("---------------------------------------") 13 print(result[0].decode().rstrip())
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte