From: djberg96@... (Daniel Berger) Date: 2004-06-03T09:58:38+09:00 Subject: Re: Obfuscating Ruby Code. Philipp Kern wrote in message news:... > On 2004-06-02, Daniel Berger wrote: > > ruby -e 'require "crypt/fog";eval(Crypt::Fog.decrypt(IO.readlines("cfoo.rb").to_s.chomp,44))' > > And how do you obfuscate the salt? Because that's the problem we try to deal > with. As soon as you call the decrypter you need the password available. > > Bye, > phil 1) Put above code in file 2) chown root file 3) chmod 700 file Regards, Dan