aboutsummaryrefslogtreecommitdiff
path: root/final/rsa-encrypt.py
diff options
context:
space:
mode:
Diffstat (limited to 'final/rsa-encrypt.py')
-rw-r--r--final/rsa-encrypt.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/final/rsa-encrypt.py b/final/rsa-encrypt.py
index 05cf562..de9ba1e 100644
--- a/final/rsa-encrypt.py
+++ b/final/rsa-encrypt.py
@@ -14,6 +14,7 @@ messageblocks = []
while messagenum > 0:
messageblocks.append(messagenum%n)
messagenum = (messagenum-messagenum%n)//n
+print(messageblocks)
def encrypt_block(blk):
return (blk ** e) % n