This commit is contained in:
Roman Hergenreder
2018-12-17 08:44:06 +01:00
parent 755b80ac0d
commit 2efb4e8a4c
9 changed files with 164 additions and 4 deletions

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

View File

@@ -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))