updated readme and added some new prints to part 1 / 2
This commit is contained in:
1 parent
7baca9ed2f
commit
253a2f62ac
5 files changed
+36
No files matched your search
@@ -12,6 +12,8 @@ cipher = AES.new(aes_key, AES.MODE_CBC, iv=b'0'*16)
|
||||
with open('ctext', 'rb') as f:
|
||||
ciphertext = f.read()
|
||||
|
||||
print(f'Ciphertext: {ciphertext}')
|
||||
|
||||
plaintext = unpad(cipher.decrypt(ciphertext), 16).decode()
|
||||
|
||||
print(f'Plaintext: {plaintext}')
|
||||
|
||||
Reference in new issue
Block a user