# rsa
These set of programs will create a rsa key, as well as encrypt and decrypt a message using the keys generated (probably)

# How To use it

run the rsa program via the line "java rsa {file name}" to generate your keys and have them written to your file of choice

Once your key file has been created, write youe message into a plain text file of your choice in this directory. 

To encrypt the message, simply run the encrypt program via the command line "java encrypt {name of key file} {name of plain text message file}". This program will then create a new file called encrypted_message.txt and fill it with the encrypted message. If such a file already exists it will replace what was in it with our new message.

To decrypt the message, run the command "java decrypt {name of key file} {name of output file}", where the name of the output file is the file you want the message to be placed in. If the file already exists it will replace its contents with the message. 

# rsa
These set of programs will create a rsa key, as well as encrypt and decrypt a message using the keys generated (probably)

#How To use it

run the rsa program via the line "java rsa {file name}" to generate your keys and have them written to your file of choice

Once your key file has been created, write youe message into a plain text file of your choice in this directory. 

To encrypt the message, simply run the encrypt program via the command line "java encrypt {name of key file} {name of plain text message file}". This program will then create a new file called encrypted_message.txt and fill it with the encrypted message. If such a file already exists it will replace what was in it with our new message.

To decrypt the message, run the command "java decrypt {name of key file} {name of output file}", where the name of the output file is the file you want the message to be placed in. If the file already exists it will replace its contents with the message. 

Revert "fixed Readme a little mor"
Revert "fixed Readme a little mor"

This reverts commit 71c6766e987c83391f8c0a22fb111e2a0f01649f.
