Skip to content

A readable Python implementation of the public key encryption algorithm, RSA.

License

Notifications You must be signed in to change notification settings

Melvillian/slow-rsa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

slow-rsa

A readable Python implementation of the public key encryption algorithm, RSA. Written by @Melvillian, @YetiRevolution, and @mlinhmc

Commands

  • keygen This will generate a public (e, n) and private (d, n) keypair for you to use

    • python rsa.py keygen
  • encrypt This will encrypt text using the public keypair (e, n) and print the list of the encrypted blocks

    • python rsa.py <text> <e> <n>
  • decrypt This will decrypt text using the private keypair (d, n) and print the decrypted string

    • python rsa.py <text> <d> <n>

RSA uses several interesting mathematical theorems and algorithms. If you are interested please read

Further Study

About

A readable Python implementation of the public key encryption algorithm, RSA.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages