Day 16
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -20,11 +20,7 @@ while True:
|
||||
|
||||
key = "".join(key)
|
||||
|
||||
# print(len(key))
|
||||
# print(len(base64.b64decode(b64)))
|
||||
|
||||
def decrypt(key, encrypted):
|
||||
# IV = Random.new().read(BLOCK_SIZE)
|
||||
aes = AES.new(key, AES.MODE_ECB)
|
||||
return aes.decrypt(base64.b64decode(b64))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user