Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
from Crypto.Cipher import ARC4
with open('logo.png') as f:
rowdata = f.read()
key = rowdata[0:0x20]
enc = rowdata[0x20:]
cipher = ARC4.new(key)
dec = cipher.decrypt(enc)
with open('out', mode='w') as f:
f.write(dec)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.