From f56a4b5189cbd407403433fa0c1e4d7591cd1bb3 Mon Sep 17 00:00:00 2001 From: bhavya121 Date: Sat, 28 Oct 2017 09:09:54 +0530 Subject: [PATCH] Create Python Assignment 1 --- Python Assignment 1 | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Python Assignment 1 diff --git a/Python Assignment 1 b/Python Assignment 1 new file mode 100644 index 0000000..3224224 --- /dev/null +++ b/Python Assignment 1 @@ -0,0 +1,7 @@ +import binascii +x="1c0111001f010100061a024b53535009181c" +y="686974207468652062756c6c277320657965" +print(binascii.b2a_hex(x)) +import base64 +print(base64.b64encode(x)) +import base64