-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels