From: Jim Freeze Date: 2004-06-09T12:33:24+09:00 Subject: Re: Obfuscating Ruby Code. On Thursday, 3 June 2004 at 9:58:38 +0900, Daniel Berger wrote: > 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 > Wouldn't a challenge/response system or private/public key encryption be better? -- Jim Freeze Stay away from flying saucers today.