We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47aca70 commit 9795454Copy full SHA for 9795454
RSA.py
@@ -43,8 +43,5 @@ def KEYGEN():
43
Key_D = (Oldi % Key_PhiN)#Final calculation of d.
44
return (Key_N, Key_E, Key_D)#Return values to be used as private and public keys.
45
def MAIN():
46
- Plain_Text = "Hello World"#Plain text.
47
- Bytes_Plain_Text = str.encode(Plain_Text)#Plain text converted to bytes.
48
- Int_Plain_Text = int(Bytes_Plain_Text.encode('hex'), 16)#Plain text converted to Integer for printing.
49
Key_N, Key_E, Key_D = KEYGEN()#Generate RSA keys.
50
MAIN()
0 commit comments