Install the gibberish gem.
gem install gibberish
Given a directory and a password the below command will:
- Encrypt all of the ruby files, *.rb, in the directory into encrypted files, *.enc
- Create a ruby_files.tar.gz archive containing the ruby files that it has encrypted. Remove this before check in
ruby encrypt_ruby.rb './ga-wdi-boston/ga-ruby-modules/done/' 'some password'
Given a directory and a password the below command will:
- Decrypt all of the encrypted files, *.enc, in the directory into ruby files, *.rb
ruby decrypt_ruby.rb './ga-wdi-boston/ga-ruby-modules/done/' 'some password'