Skip to content

Instantly share code, notes, and snippets.

@wesinator
Created March 16, 2020 16:27
Show Gist options
  • Save wesinator/db055e72fca2d61ee3d51f09b4704657 to your computer and use it in GitHub Desktop.
Save wesinator/db055e72fca2d61ee3d51f09b4704657 to your computer and use it in GitHub Desktop.
key = "VkvX7CK7X7*t$x&hssLR6fOyFSaKrFJKx&@#AK*Fnukj@J9J40f1mKaN$nsCNKPe"
def decrypt(enc,offset):
decrypted = ""
for i in range(len(enc)):
decrypted += chr((ord(enc[i]) ^ ord(key[(i + offset) & 0x3f])))
return decrypted
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment