Created
February 7, 2019 12:08
-
-
Save zealic/635072c53efedd348e614c49ed154c13 to your computer and use it in GitHub Desktop.
raw.txt
This file contains hidden or 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
import sys | |
import base64 | |
text = sys.stdin.read() | |
data = base64.b64decode(text) | |
decrypted = "" | |
for i in range(len(data)): | |
decrypted += chr(ord(data[i]) >> 1) | |
print(decrypted) |
This file contains hidden or 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
import sys | |
import base64 | |
text = sys.stdin.read() | |
encrypted = "" | |
for i in range(len(text)): | |
encrypted += chr(ord(text[i]) << 1) | |
print(base64.b64encode(encrypted)) |
This file contains hidden or 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
If u r Programmer, reply me BitOp count. |
This file contains hidden or 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
import base64 | |
print(base64.b64encode('If u r Programmer, reply me first Prime Number.'[::-1])) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
LnJlYm11TiBlbWlyUCB0c3JpZiBlbSB5bHBlciAscmVtbWFyZ29yUCByIHUgZkk=