Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: OT: hiding strings in .exe

Author: Ricardo Gibert

Date: 07:02:14 04/28/05

Go up one level in this thread


On April 27, 2005 at 11:57:56, Brian Kostick wrote:

>I wrote a little password masking function for Win32 console. I'd like to hide
>string literals in my executable. I know such things have been mentioned here
>before for more clandestine purposes. My question is, is there an easiest way to
>do this or should I use an encryption or lookup function?
>
>Thanks,
>Brian

Is it that you don't want anyone to read your strings or is it you don't want
anyone to change your strings? A simple encryption algorithm will prevent anyone
from easily reading the strings, but if all you want is to prevent anyone from
modifying them, then doing a checksum on the strings to detect modification and
aborting the program if they have been modified would be enough to defeat
tinkering by any unsophisticated attempts to do so.



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.