Created
January 26, 2018 09:23
-
-
Save quandqn/e9f2e4d812b247618eae85a924101d56 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
batman_encrypt = 'nIxXhZyWNkxz4PodPTHX74TnSJyq'.decode('base64') | |
batman = '{"username":"batman"}' | |
admin = '{"username":"admin"}' | |
admin_encrypt = '' | |
for i in xrange(len(admin)): | |
admin_encrypt+= chr(ord(batman_encrypt[i]) ^ ord(batman[i]) ^ ord(admin[i])) | |
print admin_encrypt.encode('base64') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment