cryptopals icon indicating copy to clipboard operation
cryptopals copied to clipboard

Error

Open JeanZ7 opened this issue 6 years ago • 0 comments

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) in () 15 16 ---> 17 main()

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

JeanZ7 avatar Sep 05 '19 14:09 JeanZ7