mirror of
https://github.com/billbuchanan/appliedcrypto.git
synced 2026-02-20 13:50:42 +00:00
Update input method from raw_input to input
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
message = raw_input('Enter message: ')
|
||||
message = input('Enter message: ')
|
||||
e = input('Enter exponent: ')
|
||||
p = input('Enter prime ')
|
||||
|
||||
cipher = (int(message) ** int(e)) % int(p)
|
||||
print (cipher)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user