Introduction ------------ This script is designed to be used like a command to encrypt/decrypt files. It uses RC-4 (128-bit) encryption technology, which is the same as what most secure web sites use. Encrypted files have the .crypt suffix appended to the file name. Crypt is free and very powerful. It uses open source (OpenSSL) technology and can be used to encrypt/decrypt as many files as you want in a single command. Installation ------------ Expand the archive on your desktop (presumably, if you're reading this file, you've already done that) using Stuffit Expander. Then, as the root user, copy crypt and shred to /usr/local/bin and make sure all users have execute permissions. A set of installation commands for novices are: su cp -i - /Users//Desktop/Crypt/crypt /usr/local/bin If you get a "No such file or directory" error after this command type: mkdir -p /usr/local/bin cp -i - /Users//Desktop/Crypt/crypt /usr/local/bin cp -i - /Users//Desktop/Crypt/Shred/shred /usr/local/bin Finally, set the permissions: chmod 755 /usr/local/bin/crypt rehash Instructions ------------ To use this command, simply type crypt then the files. crypt "encryption key" This command will determine whether the files you send to it are encrypted or not. If they are not encrypted, crypt will encrypt them. If they are encrypted, crypt will decrypt them. Note on the encryption key: The encryption key can be made up any set of alphanumeric characters. If you use a space, then you must use double quotes or single quotes (" or ') around your key. Certain other characters in the encryption key, such as the slash character may require single quotes. This is true for both file encryption and decryption. Crypt has the following flags: -d Deletes the original file. Be careful, this option does not prompt to ask you if you are sure you want to delete the original. -e Forces encryption. -r Forces decryption. Warning ------- Don't forget your encryption key (password) or you will most likely not be able to retrieve your files, unless you work for the NSA. When you decrypt a file, if you have the wrong encryption key (password) there will be no errors. However, the decrypted file will be gibberish. Don't be deceived since the encryption key is determinant in the way the data is encrypted and decrypted. To Do ----- Change automatic mode to NOT depend on file extension. Increase encryption. Add option to choose encryption. Licensing --------- This script is freeware. However, if you make any modifications, please e-mail the author. And if you're in a really generous mood, I'll gladly accept donations to my Paypal account. Paypal Account Information -------------------------- You can easily send me money by logging onto http://www.paypal.com/ Then login, click on the "Send Money" tab and enter my e-mail address, which is btc@monaco.net. Thanks! Acknowledgements ---------------- Thanks to John Pell for his contributions. Disclaimer ---------- I express absolutely no guarantee of the results. Use these scripts at your own risk. Bruno Courbage btc@monaco.net