README
------

rsatools is a program for encrypting and decrypting files with the RSA
algorithm. When you have installed rsatools (see file INSTALL for details)
then you must at first create a publickey and a privatekey file. The data
will be encrypted with the publickey file and decrypted with the privatekey
file. You can create a key with rsakeygen. The longer the key is the more
secure it is. You must specify the length of the key in bits. Usually 1024
bits is enough. To generate a publickey named "pub" and a privatekey named
"priv" with 1024 bits length then type:

rsakeygen 1024 priv pub

After you have created the key you can encrypt a file with the publickey.
If you want to encrypt a file named "secret" with the above key then type:

rsaencrypt pub secret crypted

The crypted file will be named "crypted". You can decrypt it with the
following command:

rsaencrypt priv crypted plain

Now you have an encrypted file "plain".

You can use this e.g. for transferring important files from a computer to
another: You generate a keypair on the destination computer, send the
publickey to the source computer, crypt the file on the source computer, send
it to the destination computer and encrypt the file with the privatekey.

See http://www.eggdrop.ch/projects/rsatools/ for updates.

You can contact me via e-mail (tom@eggdrop.ch) or ICQ (166514901).
Don't forget to visit my site http://www.eggdrop.ch/.

Have a lot of fun!
