crypt-fog is a simple encryption mechanism, but slightly better than Rot13. It’s primary goal is to provide a reasonable amount of obfuscation without having to resort to public/private key exchanges, etc.

For hyper-sensitive data I recommend using a more advanced encryption scheme.

In addition to the module, a stand-alone program is included called “quickenc.rb” that takes both a string and a number as arguments and returns your encrypted string. You can then copy/paste that string to a .rc file. Just remember the number you picked in order to decrypt it.

Usage: ruby quickenc.rb -s “hello” -d 1688

ruby quickenc.rb -f "test.txt" -d 1066