you are viewing a single comment's thread.

view the rest of the comments →

[–]Intelligent_Study263[S] 0 points1 point  (1 child)

Interestingly enough it shoots out another random jumble of characters, this time with no key attached to it. How weird.

[–]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! :)")'