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
@@ -0,0 +1,28 @@
|
||||
# About
|
||||
|
||||
This is the Cryptography homework 3.
|
||||
|
||||
# Usage
|
||||
|
||||
## Installation
|
||||
|
||||
Please install `pycryptodome` using Python 3.10.
|
||||
|
||||
## Part 1
|
||||
|
||||
First run `alice.py` and input the message.
|
||||
Run `bob.py` to decrypt the message.
|
||||
|
||||
## Part 2
|
||||
|
||||
Run `bob.py` to generate bob's public and private keys.
|
||||
Run `alice.py` and enter a message.
|
||||
Run `bob.py` to decrypt the message.
|
||||
|
||||
## Part 3
|
||||
|
||||
Run `speed-test.py` or speed-test-nokey.py`.
|
||||
|
||||
The difference between the two is that nokey doesn't generate a new key for each encryption and decryption.
|
||||
|
||||
|
||||
Reference in new issue
Block a user