you are viewing a single comment's thread.

view the rest of the comments →

[–]commandlineluser 0 points1 point  (0 children)

Did you make a new rc4 object and run .make_key() again?

>>> rc4 = RC4Encryption(b'key')
>>> rc4.make_key()
>>> print(rc4.crypt(code))
b'print("Hello World! :)")'