Skip to content

A very basic RSA key generator with encryptor and decryptor.

License

Notifications You must be signed in to change notification settings

Kalman98/simple-rsa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simple-rsa

A very basic RSA key generator with encryptor and decryptor that is written in Python3.

Generating Keys

Generating your own keys is easy. Run srsa.py to get a pair of keys, along with some various other outputs.

Encrypting

Run encrypt.py, input your public key, modulus, and then the message you want encrypted. Note that the encryption only supports ASCII characters at this time.

Decrypting

Run decrypt.py, input your private key, modulus, and encrypted number. That's it!

About

I started this project for fun when I was learning about RSA encryption. I wanted to prove to myself that I understood how it worked, and once I had done that, I decided to clean it up and push it to GitHub so maybe somebody else could learn from what I have. This is mostly meant as an educational project - I do not make any guarantees that this technology will keep your information safe! To the best of my knowledge on encryption so far, it should work fine if used properly. But don't use this project for anything important, please. Just learning. :)

If you want more information on RSA encryption, Wikipedia's RSA page is a great place to start. That's where I got all of the information I needed to create this project.

About

A very basic RSA key generator with encryptor and decryptor.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages