Skip to content
/ rsa Public
forked from andrew-bodine/rsa

Python RSA public-key encryption system

Notifications You must be signed in to change notification settings

sillybot/rsa

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

rsa

Python RSA public-key encryption system

Files

    rsa.py - application for generating rsa keys, encrypting data, and decrypting data
    bodineac_keys - pickled file containing all necessary encryption/decryption meta data ( my rsa keys )
    plaintext - orignial plaintext file that we were given
    ciphertext - result of encrypting plaintext file
    decrypted - result of decrypting ciphertext file

Usage

    to generate rsa keys: python rsa.py init <keys_filename> <prime_bitlength>
            ex. python rsa.py init bodineac_keys 512
    to encrypt data: python rsa.py encrypt <keys_filename> <plaintext_filename> <ciphertext_filename>
            ex. python rsa.py encrypt bodineac_keys plaintext ciphertext
    to decrypt data: python rsa.py decrypt <keys_filename> <ciphertext_filename> <decrypted_filename>
            ex. python rsa.py decrypt bodineac_keys ciphertext decrypted

About

Python RSA public-key encryption system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%