From: Kris Date: 2006-05-22T17:04:23+09:00 Subject: Re: Writing a interpreter extension It would take a higher skill set to extract it though. And you can write code that helps hide a key in a binary file. So is it possible to write a C extension that overrides the ruby require in the same way as the previous ruby example? Many thanks, K. Sam Roberts wrote: > Quoting krisleech@interkonect.com, on Mon, May 22, 2006 at 12:29:24AM > +0900: >> Thanks for the reply. >> >> The problem with doing it in Ruby is that there is no where to hide the >> decryption key... It would be in plain text, unless I'm am missing >> something? > > Doing it in compiled C would leave it in plain text, too, just mildly > more obfuscated. > > Sam -- Posted via http://www.ruby-forum.com/.