diff options
Diffstat (limited to 'bonus_encoded/n1c00o/decode.py')
| -rw-r--r-- | bonus_encoded/n1c00o/decode.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bonus_encoded/n1c00o/decode.py b/bonus_encoded/n1c00o/decode.py new file mode 100644 index 0000000..6d0c30c --- /dev/null +++ b/bonus_encoded/n1c00o/decode.py @@ -0,0 +1,9 @@ +from base64 import b64decode +from itertools import cycle + +message = "FU4QGg8CFgMSUkwOFRNXQgsIF0hAQVQTDhkAUVRTRVVJSVlPSwQABAQQAVFRExwQSQwFCQMTBwNG VVYUEl1eUxwMBwYODRZXTVVLVVZcWVUYDA4KAhVUUFtVS0FbWF9TBQwHSEBBVAIAFw5dQUcXEFRJ RBwNBxZXTVVLUlpbFxBUSUQYBQ9SVxw=" + +key = input("key for decode: ") +for m, k in zip(b64decode(message), cycle(key)): + print(chr(m ^ ord(k)), end="") +print() |
