From: John Carter Date: 2003-02-27T09:42:10+09:00 Subject: Re: Is there a ruby script encryptor? On Thu, 27 Feb 2003, MikkelFJ wrote: > > "John Carter" wrote in message > news:Pine.LNX.4.50.0302271102330.30563-100000@localhost.localdomain... > > On Tue, 25 Feb 2003, Roger Gong wrote: > > > > > As the subject said, is there such a program? > > > > Ask freshmeat.net, answer http://aescrypt.sourceforge.net/ > > I'm sure the Ruby interpreter will run fine if you pass the password as a > command line argument and tell the users not to manually decrypt the source. Operator halted, insert coffee... ...Ok. Sorry I didn't look closely enough at aescrypt. Still, it is a nifty component to use for the job. Write a C program that has the ruby interpreter embedded in it. (Hey exerb does that already), hashes a license file, ipaddress (or string read from dongle) and a hidden string within the .C code, and uses that as a key to aescrypt. Feed key plus encrypted ruby script to the embedded ruby interpreter and stand back. Done. Can be hacked out of course, but no worse than any software protection scheme. John Carter Phone : (64)(3) 358 6639 Tait Electronics Fax : (64)(3) 359 4632 PO Box 1645 Christchurch Email : john.carter@tait.co.nz New Zealand John's law :- All advances in computing have arisen through the creation of an additional level of indirection, the trick is to work out which indirection is actually useful.