質問編集履歴
1
申し訳ありません.修正いたしました.
test
CHANGED
File without changes
|
test
CHANGED
@@ -16,9 +16,11 @@
|
|
16
16
|
|
17
17
|
from Crypto.PublicKey import RSA
|
18
18
|
|
19
|
-
|
19
|
+
bobKey = RSA.generate(1024)
|
20
20
|
|
21
|
+
bobPK = bobKey.publickey()
|
22
|
+
|
21
|
-
encrypted_message = b
|
23
|
+
encrypted_message = bobPK.encrypt(secret_message, 32)
|
22
24
|
|
23
25
|
```
|
24
26
|
|