>On Wed, 2 Jun 2004, David A. Black wrote: >> This is probably a stupid question, but... what if someone did: >> >> ruby -e 'require "crypt/fog"; puts eval(Crypt::Fog.decrypt(......)' Well, you happen to know the method and the salt with which to decrypt the example I gave you. Besides, the OP only hasked for obfuscation, not encryption. Let's have a little fun. I'll give you some obfuscated code and you tell me how long it takes you to decipher it. \255\257\244\265\254\245`\215\257\266\251\245J```\243\254\241\263\263`\203\250\262\251\263\264\255\241\263\223\264\257 \262\271J``````\244\245\246`\263\245\243\262\245\264\237\255\245\263\263\241\247\245J`````````\260\265\264\263`b\202\2 45`\263\265\262\245`\264\257`\244\262\251\256\253`\271\257\265\262`\217\266\241\254\264\251\256\245bJ``````\245\256\24 4J```\245\256\244J\245\256\244JJ\243\263`}`\215\257\266\251\245zz\203\250\262\251\263\264\255\241\263\223\264\257\262\ 271n\256\245\267J\243\263n\263\245\243\262\245\264\237\255\245\263\263\241\247\245 Regards, Dan PS - Attempts to print the results to a terminal using a brute force approach may cause your terminal to freeze (though not because of my code). The code itself is harmless. For example: str = "foo" 1.upto(100){ |x| puts str.unpack("C*").map{ |e| e -= x }.pack("C*") } This causes my terminal to go wonky, though I'm using CDE on Solaris 9. YMMV.