Skip to content

JoeLee9981/rsa_encryption

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

PYTHON: RSA encryption

This uses the RSA encryption algorithm with a modular exponentiation to perform RSA Encryption on a message. The characters are converted to their integer value and then uses the modular exponentiation to encrypt it. Results are displayed with "," separation to make it easily readable for human eyes to see the encryption. It is then decrypted using the modular inverse and converted back into the original message.

Preset message is: Encrypting message: The Queen Can't Roll When Sand is in the Jar. 2159,2170,1313,1992,2718,2160,1313,1313,2235,1992,641,1632,2235,1956,884,1992, 1859,2185,745,745,1992,604,2170,1313,2235,1992,2680,1632,2235,1773,1992,3179, 1230,1992,3179,2235,1992,884,2170,1313,1992,1877,1632,2412,2825

Decrypting message:
The Queen Can't Roll When Sand is in the Jar.
--Press any key to end--

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages