From eec32b426d2880dcc255ff8304a0c4e7f182c6a4 Mon Sep 17 00:00:00 2001 From: bhavya121 Date: Mon, 30 Oct 2017 22:12:12 +0530 Subject: [PATCH] Create Python Assignment 4 --- Python Assignment 4 | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Python Assignment 4 diff --git a/Python Assignment 4 b/Python Assignment 4 new file mode 100644 index 0000000..c99e087 --- /dev/null +++ b/Python Assignment 4 @@ -0,0 +1,9 @@ +import binascii +x="1c0111001f010100061a024b53535009181c" +a="686974207468652062756c6c277320657965" +x=b"1c0111001f010100061a024b53535009181c" +a="686974207468652062756c6c277320657965" +print(binascii.b2a_hex(x)) +import base64 +print(base64.b64encode(x)) +import base64