Skip to content

Commit 9795454

Browse files
authored
Update RSA.py
1 parent 47aca70 commit 9795454

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

RSA.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,5 @@ def KEYGEN():
4343
Key_D = (Oldi % Key_PhiN)#Final calculation of d.
4444
return (Key_N, Key_E, Key_D)#Return values to be used as private and public keys.
4545
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.
4946
Key_N, Key_E, Key_D = KEYGEN()#Generate RSA keys.
5047
MAIN()

0 commit comments

Comments
 (0)