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
@@ -14,6 +14,8 @@ cipher = PKCS1_OAEP.new(public_key)
|
||||
# Encrypt the message
|
||||
ciphertext = cipher.encrypt(message)
|
||||
|
||||
print(f'Ciphertext: {ciphertext}')
|
||||
|
||||
# Write the ciphertext
|
||||
with open("ctext", "wb") as f:
|
||||
f.write(ciphertext)
|
||||
|
||||
Reference in new issue
Block a user